org.rhq.core.domain.cloud
Class FailoverListDetails
java.lang.Object
org.rhq.core.domain.cloud.FailoverListDetails
- All Implemented Interfaces:
- Serializable
public class FailoverListDetails
- 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_GET_VIA_AGENT_ID
public static final String QUERY_GET_VIA_AGENT_ID
- See Also:
- Constant Field Values
QUERY_GET_VIA_AGENT_ID_WITH_SERVERS
public static final String QUERY_GET_VIA_AGENT_ID_WITH_SERVERS
- 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_SERVER
public static final String QUERY_DELETE_VIA_SERVER
- See Also:
- Constant Field Values
QUERY_GET_ASSIGNED_LOADS
public static final String QUERY_GET_ASSIGNED_LOADS
- See Also:
- Constant Field Values
QUERY_TRUNCATE
public static final String QUERY_TRUNCATE
- See Also:
- Constant Field Values
failoverList
protected FailoverList failoverList
server
protected Server server
FailoverListDetails
protected FailoverListDetails()
FailoverListDetails
public FailoverListDetails(FailoverList failoverList,
int ordinal,
Server server)
getFailoverList
public FailoverList getFailoverList()
setFailoverList
public void setFailoverList(FailoverList failoverList)
getOrdinal
public int getOrdinal()
setOrdinal
public void setOrdinal(int ordinal)
getId
public int getId()
setId
public void setId(int id)
getServer
public Server getServer()
setServer
public void setServer(Server agent)
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.