Class FrontendHistoryMetadata
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.persisted.FrontendHistoryMetadata
-
- All Implemented Interfaces:
org.opendaylight.yangtools.concepts.WritableObject
public final class FrontendHistoryMetadata extends Object implements org.opendaylight.yangtools.concepts.WritableObject
-
-
Constructor Summary
Constructors Constructor Description FrontendHistoryMetadata(long historyId, long cookie, boolean closed, Map<com.google.common.primitives.UnsignedLong,Boolean> closedTransactions, com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> purgedTransactions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<com.google.common.primitives.UnsignedLong,Boolean>getClosedTransactions()longgetCookie()longgetHistoryId()com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong>getPurgedTransactions()booleanisClosed()static FrontendHistoryMetadatareadFrom(DataInput in)StringtoString()voidwriteTo(DataOutput out)
-
-
-
Method Detail
-
getHistoryId
public long getHistoryId()
-
getCookie
public long getCookie()
-
isClosed
public boolean isClosed()
-
getClosedTransactions
public Map<com.google.common.primitives.UnsignedLong,Boolean> getClosedTransactions()
-
getPurgedTransactions
public com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> getPurgedTransactions()
-
writeTo
public void writeTo(DataOutput out) throws IOException
- Specified by:
writeToin interfaceorg.opendaylight.yangtools.concepts.WritableObject- Throws:
IOException
-
readFrom
public static FrontendHistoryMetadata readFrom(DataInput in) throws IOException
- Throws:
IOException
-
-