Class TransactionIdentifier
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.TransactionIdentifier
- All Implemented Interfaces:
Serializable
,Identifier
,Immutable
,WritableIdentifier
,WritableObject
Globally-unique identifier of a transaction.
- Author:
- Robert Varga
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionIdentifier
(@NonNull LocalHistoryIdentifier historyId, long transactionId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull LocalHistoryIdentifier
long
int
hashCode()
static @NonNull TransactionIdentifier
toString()
void
writeTo
(DataOutput out)
-
Constructor Details
-
TransactionIdentifier
-
-
Method Details
-
readFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceWritableObject
- Throws:
IOException
-
getHistoryId
-
getTransactionId
public long getTransactionId() -
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceIdentifier
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceIdentifier
- Overrides:
equals
in classObject
-
toShortString
-
toString
- Specified by:
toString
in interfaceIdentifier
- Overrides:
toString
in classObject
-