org.rhq.core.domain.cloud
Class PartitionEventDetails
java.lang.Object
org.rhq.core.domain.cloud.PartitionEventDetails
- All Implemented Interfaces:
- Serializable
public class PartitionEventDetails
- extends Object
- implements Serializable
An object to capture when the infrastructure used for high availability
reconfigures itself for some reason. This object will store a snapshot
of the topology, so you can go back in history and figure out which
servers were connected to which agents at any given point in time.
- See Also:
- Serialized Form
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
QUERY_FIND_BY_EVENT_ID
public static final String QUERY_FIND_BY_EVENT_ID
- See Also:
- Constant Field Values
partitionEvent
protected PartitionEvent partitionEvent
agentName
protected String agentName
serverName
protected String serverName
PartitionEventDetails
protected PartitionEventDetails()
PartitionEventDetails
public PartitionEventDetails(PartitionEvent partitionEvent,
Agent agent,
Server server)
getPartitionEvent
public PartitionEvent getPartitionEvent()
setPartitionEvent
public void setPartitionEvent(PartitionEvent partitionEvent)
getId
public int getId()
setId
public void setId(int id)
getAgentName
public String getAgentName()
setAgentName
public void setAgentName(String agentName)
getServerName
public String getServerName()
setServerName
public void setServerName(String serverName)
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.