Class LocalHistoryIdentifier
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.LocalHistoryIdentifier
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.concepts.Identifier,org.opendaylight.yangtools.concepts.Immutable,org.opendaylight.yangtools.concepts.WritableIdentifier,org.opendaylight.yangtools.concepts.WritableObject
public final class LocalHistoryIdentifier
extends Object
implements org.opendaylight.yangtools.concepts.WritableIdentifier
Globally-unique identifier of a local history. This identifier is assigned on the frontend and is composed of
- a
ClientIdentifier, which uniquely identifies a single instantiation of a particular frontend
- an unsigned long, which uniquely identifies the history on the backend
- an unsigned long cookie, assigned by the client and meaningless on the backend, which just reflects it back- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLocalHistoryIdentifier(ClientIdentifier frontendId, long historyId) LocalHistoryIdentifier(ClientIdentifier frontendId, long historyId, long cookie) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull ClientIdentifierlonglonginthashCode()static @NonNull LocalHistoryIdentifiertoString()voidwriteTo(DataOutput out)
-
Constructor Details
-
LocalHistoryIdentifier
-
LocalHistoryIdentifier
-
-
Method Details
-
readFrom
- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceorg.opendaylight.yangtools.concepts.WritableObject- Throws:
IOException
-
getClientId
-
getHistoryId
public long getHistoryId() -
getCookie
public long getCookie() -
hashCode
public int hashCode() -
equals
-
toString
-