Package com.exedio.cope
Class ChangeEvent
- java.lang.Object
-
- com.exedio.cope.ChangeEvent
-
public final class ChangeEvent extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeEvent.NotAvailableException
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Collection<Item>
getItems()
String
getNodeID()
int
getOriginClusterNodeID()
Deprecated.UsegetRemoteNodeID()
insteadint
getRemoteNodeID()
String
getRemoteNodeIDString()
long
getTransactionID()
String
getTransactionName()
Date
getTransactionStartDate()
boolean
isRemote()
String
toString()
-
-
-
Method Detail
-
getItems
public Collection<Item> getItems()
-
getNodeID
public String getNodeID()
- See Also:
getRemoteNodeIDString()
-
isRemote
public boolean isRemote()
-
getRemoteNodeID
public int getRemoteNodeID() throws ChangeEvent.NotAvailableException
- Throws:
ChangeEvent.NotAvailableException
- if that information is not available- See Also:
ClusterSenderInfo.getNodeID()
,getRemoteNodeIDString()
-
getRemoteNodeIDString
public String getRemoteNodeIDString() throws ChangeEvent.NotAvailableException
- Throws:
ChangeEvent.NotAvailableException
- if that information is not available- See Also:
ClusterSenderInfo.getNodeIDString()
,getRemoteNodeID()
-
getTransactionID
public long getTransactionID() throws ChangeEvent.NotAvailableException
- Throws:
ChangeEvent.NotAvailableException
- if that information is not available- See Also:
Transaction.getID()
-
getTransactionName
public String getTransactionName() throws ChangeEvent.NotAvailableException
- Throws:
ChangeEvent.NotAvailableException
- if that information is not available- See Also:
Transaction.getName()
-
getTransactionStartDate
public Date getTransactionStartDate() throws ChangeEvent.NotAvailableException
- Throws:
ChangeEvent.NotAvailableException
- if that information is not available- See Also:
Transaction.getStartDate()
-
getOriginClusterNodeID
@Deprecated public int getOriginClusterNodeID() throws ChangeEvent.NotAvailableException
Deprecated.UsegetRemoteNodeID()
instead
-
-