@Immutable @ProtoTypeId(value=9) public class SimpleClusteredVersion extends Object implements IncrementableEntryVersion
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleClusteredVersion.Externalizer |
| Constructor and Description |
|---|
SimpleClusteredVersion(int topologyId,
long version) |
| Modifier and Type | Method and Description |
|---|---|
InequalVersionComparisonResult |
compareTo(EntryVersion other)
Compares the given version against the current instance.
|
boolean |
equals(Object o) |
int |
getTopologyId() |
long |
getVersion() |
int |
hashCode() |
String |
toString() |
@ProtoFactory
public SimpleClusteredVersion(int topologyId,
long version)
@ProtoField(number=1,
defaultValue="-1")
public int getTopologyId()
@ProtoField(number=2,
defaultValue="-1")
public long getVersion()
public InequalVersionComparisonResult compareTo(EntryVersion other)
EntryVersioncompareTo in interface EntryVersionother - the other version to compare againstCopyright © 2022 JBoss by Red Hat. All rights reserved.