public final class FrontendHistoryMetadata extends Object implements org.opendaylight.yangtools.concepts.WritableObject
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
Map<com.google.common.primitives.UnsignedLong,Boolean> |
getClosedTransactions() |
long |
getCookie() |
long |
getHistoryId() |
com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> |
getPurgedTransactions() |
boolean |
isClosed() |
static FrontendHistoryMetadata |
readFrom(DataInput in) |
String |
toString() |
void |
writeTo(DataOutput out) |
public long getHistoryId()
public long getCookie()
public boolean isClosed()
public Map<com.google.common.primitives.UnsignedLong,Boolean> getClosedTransactions()
public com.google.common.collect.RangeSet<com.google.common.primitives.UnsignedLong> getPurgedTransactions()
public void writeTo(DataOutput out) throws IOException
writeTo
in interface org.opendaylight.yangtools.concepts.WritableObject
IOException
public static FrontendHistoryMetadata readFrom(DataInput in) throws IOException
IOException
Copyright © 2019 OpenDaylight. All rights reserved.