Class FrontendHistoryMetadata
- java.lang.Object
-
- org.opendaylight.controller.cluster.datastore.persisted.FrontendHistoryMetadata
-
- All Implemented Interfaces:
WritableObject
public final class FrontendHistoryMetadata extends Object implements WritableObject
-
-
Constructor Summary
Constructors Constructor Description FrontendHistoryMetadata(long historyId, long cookie, boolean closed, Map<UnsignedLong,Boolean> closedTransactions, RangeSet<UnsignedLong> purgedTransactions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<UnsignedLong,Boolean>
getClosedTransactions()
long
getCookie()
long
getHistoryId()
RangeSet<UnsignedLong>
getPurgedTransactions()
boolean
isClosed()
static FrontendHistoryMetadata
readFrom(DataInput in)
String
toString()
void
writeTo(DataOutput out)
-
-
-
Constructor Detail
-
FrontendHistoryMetadata
public FrontendHistoryMetadata(long historyId, long cookie, boolean closed, Map<UnsignedLong,Boolean> closedTransactions, RangeSet<UnsignedLong> purgedTransactions)
-
-
Method Detail
-
getHistoryId
public long getHistoryId()
-
getCookie
public long getCookie()
-
isClosed
public boolean isClosed()
-
getClosedTransactions
public Map<UnsignedLong,Boolean> getClosedTransactions()
-
getPurgedTransactions
public RangeSet<UnsignedLong> getPurgedTransactions()
-
writeTo
public void writeTo(DataOutput out) throws IOException
- Specified by:
writeTo
in interfaceWritableObject
- Throws:
IOException
-
readFrom
public static FrontendHistoryMetadata readFrom(DataInput in) throws IOException
- Throws:
IOException
-
-