|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use VectorClock | |
---|---|
org.sdnplatform.sync.internal | |
org.sdnplatform.sync.internal.rpc | |
org.sdnplatform.sync.internal.store | |
org.sdnplatform.sync.internal.version |
Uses of VectorClock in org.sdnplatform.sync.internal |
---|
Method parameters in org.sdnplatform.sync.internal with type arguments of type VectorClock | |
---|---|
boolean |
SyncManager.handleSyncOffer(java.lang.String storeName,
byte[] key,
java.lang.Iterable<VectorClock> versions)
Check whether any of the specified versions for the key are not older than the versions we already have |
Uses of VectorClock in org.sdnplatform.sync.internal.rpc |
---|
Methods in org.sdnplatform.sync.internal.rpc that return VectorClock | |
---|---|
static VectorClock |
TProtocolUtil.getVersion(org.sdnplatform.sync.thrift.VectorClock tvc)
Convert a thrift org.sdnplatform.sync.thrift.VectorClock into
a VectorClock . |
Methods in org.sdnplatform.sync.internal.rpc that return types with arguments of type VectorClock | |
---|---|
java.util.Iterator<VectorClock> |
RPCChannelHandler.TVersionIterable.iterator()
|
Methods in org.sdnplatform.sync.internal.rpc with parameters of type VectorClock | |
---|---|
static org.sdnplatform.sync.thrift.VectorClock |
TProtocolUtil.getTVectorClock(VectorClock vc)
Convert a VectorClock into a
org.sdnplatform.sync.thrift.VectorClock |
Uses of VectorClock in org.sdnplatform.sync.internal.store |
---|
Constructors in org.sdnplatform.sync.internal.store with parameters of type VectorClock | |
---|---|
VCVersioned(T object,
VectorClock version)
|
Uses of VectorClock in org.sdnplatform.sync.internal.version |
---|
Methods in org.sdnplatform.sync.internal.version that return VectorClock | |
---|---|
VectorClock |
VectorClock.clone()
|
VectorClock |
VectorClock.incremented(int nodeId,
long time)
Get new vector clock based on this clock but incremented on index nodeId |
VectorClock |
VectorClock.merge(VectorClock clock)
|
Methods in org.sdnplatform.sync.internal.version with parameters of type VectorClock | |
---|---|
static IVersion.Occurred |
VectorClock.compare(VectorClock v1,
VectorClock v2)
Is this Reflexive, AntiSymetic, and Transitive? Compare two VectorClocks, the outcomes will be one of the following: -- Clock 1 is BEFORE clock 2 if there exists an i such that c1(i) <= c(2) and there does not exist a j such that c1(j) > c2(j). |
VectorClock |
VectorClock.merge(VectorClock clock)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |