org.rhq.core.domain.cloud
Class FailoverList
java.lang.Object
org.rhq.core.domain.cloud.FailoverList
- All Implemented Interfaces:
- Serializable
public class FailoverList
- extends Object
- implements Serializable
An object to capture a snapshot of the order in which particular agents
will fail over to particular servers. The FailoverListDetails
will contain the ordered references back to other Server
s.
- See Also:
- Serialized Form
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
QUERY_DELETE_VIA_AGENT
public static final String QUERY_DELETE_VIA_AGENT
- See Also:
- Constant Field Values
QUERY_DELETE_VIA_PARTITION_EVENT
public static final String QUERY_DELETE_VIA_PARTITION_EVENT
- See Also:
- Constant Field Values
QUERY_GET_VIA_AGENT
public static final String QUERY_GET_VIA_AGENT
- See Also:
- Constant Field Values
QUERY_TRUNCATE
public static final String QUERY_TRUNCATE
- See Also:
- Constant Field Values
partitionEvent
protected PartitionEvent partitionEvent
agent
protected Agent agent
FailoverList
protected FailoverList()
FailoverList
public FailoverList(PartitionEvent event,
Agent agent)
getPartitionEvent
public PartitionEvent getPartitionEvent()
setPartitionEvent
public void setPartitionEvent(PartitionEvent partitionEvent)
getId
public int getId()
setId
public void setId(int id)
getAgent
public Agent getAgent()
setAgent
public void setAgent(Agent agent)
getCtime
public long getCtime()
getServerList
public List<FailoverListDetails> getServerList()
setServerList
public void setServerList(List<FailoverListDetails> serverList)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.