Package com.tailf.cdb
Class CdbTxId
Object
com.tailf.cdb.CdbTxId
Data structure received from
Cdb.getTxId()
method. Represents the
last known transaction that CDB did. This can be used to compare states for a
managed object. If configuration needs to be re-read or not, in case of
restarts.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this CdbTxId to the specified object.getNode()
Get the host node;int
getS1()
Get the s1 part of timestampint
getS2()
Get the s2 part of timestampint
getS3()
Get the s3 part of timestampint
hashCode()
toString()
Return a string representation of this object.
-
Method Details
-
getNode
Get the host node;- Returns:
- String the host node
-
getS1
public int getS1()Get the s1 part of timestamp- Returns:
- int s1 part of timestamp
-
getS2
public int getS2()Get the s2 part of timestamp- Returns:
- int s2 part of timestamp
-
getS3
public int getS3()Get the s3 part of timestamp- Returns:
- int s3 part of timestamp
-
equals
Compares this CdbTxId to the specified object. The result is true if and only if the argument is not null and is a CdbTxId object that represents the same internal values (e.g timestamp from a node) as this object. -
hashCode
public int hashCode() -
toString
Return a string representation of this object.
-