org.rhq.core.domain.cloud
Class PartitionEvent
java.lang.Object
org.rhq.core.domain.cloud.PartitionEvent
- All Implemented Interfaces:
- Serializable
public class PartitionEvent
- extends Object
- implements Serializable
An object to capture when the infrastructure used for high availability
reconfigures itself for some reason. This object will store the reason
for the change, the connection topology after the change takes place, and
the time it took place.
- See Also:
- Serialized Form
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
QUERY_FIND_ALL
public static final String QUERY_FIND_ALL
- See Also:
- Constant Field Values
QUERY_FIND_BY_EXECUTION_STATUS
public static final String QUERY_FIND_BY_EXECUTION_STATUS
- See Also:
- Constant Field Values
subjectName
protected String subjectName
PartitionEvent
protected PartitionEvent()
PartitionEvent
public PartitionEvent(String subjectName,
PartitionEventType eventType,
PartitionEvent.ExecutionStatus executionStatus)
PartitionEvent
public PartitionEvent(String subjectName,
PartitionEventType eventType,
String eventDetail,
PartitionEvent.ExecutionStatus executionStatus)
getId
public int getId()
setId
public void setId(int id)
getSubjectName
public String getSubjectName()
setSubjectName
public void setSubjectName(String subjectName)
getCtime
public long getCtime()
setCtime
public void setCtime(long ctime)
getEventType
public PartitionEventType getEventType()
setEventType
public void setEventType(PartitionEventType eventType)
getEventDetail
public String getEventDetail()
setEventDetail
public void setEventDetail(String eventDetail)
getPartitionDetails
public List<PartitionEventDetails> getPartitionDetails()
setPartitionDetails
public void setPartitionDetails(List<PartitionEventDetails> partitionDetails)
getServerLists
public List<FailoverList> getServerLists()
setServerLists
public void setServerLists(List<FailoverList> serverLists)
getExecutionStatus
public PartitionEvent.ExecutionStatus getExecutionStatus()
setExecutionStatus
public void setExecutionStatus(PartitionEvent.ExecutionStatus executionStatus)
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.