- Version <Actor, K, V> (K Key)
- Write (Actor actor, long timeStamp, V value)
- Write (Actor actor, V value)
- Delete (Actor actor, long timeStamp)
- Delete (Actor actor)
- Value
- VersionVector <ConflictA, OrdActor, NumClock, Actor, Clock, A> ( Option<A> Value, long TimeStamp, VectorClock<OrdActor, NumClock, Actor, Clock> Vector)
- Put ( VersionVector<ConflictA, OrdActor, NumClock, Actor, Clock, A> version)
- Put (Actor actor, long timeStamp, Option<A> value)
- VersionVector <ConflictA, Actor, A> (Option<A> Value, long TimeStamp, VectorClock<Actor> Vector)
record Version <Actor, K, V> (K Key) Source #
Wraps up a version vector, making it easier to work with and not generics hell
type | Actor | Actor type |
type | V | Value type |
method Version<Actor, K, V> Write (Actor actor, long timeStamp, V value) Source #
Perform a write to the vector. This increases the vector-clock by 1 for the actor
provided.
param | value | Value to write |
method Version<Actor, K, V> Write (Actor actor, V value) Source #
Perform a write to the vector. This increases the vector-clock by 1 for the actor
provided.
param | value | Value to write |
record VersionVector <ConflictA, OrdActor, NumClock, Actor, Clock, A> ( Option<A> Value, long TimeStamp, VectorClock<OrdActor, NumClock, Actor, Clock> Vector) Source #
Version vector. Container of an optional value, a time-stamp, and a vector clock. Used to manage versioning of a single value. ConflictA allows for injectable conflict resolution.
type | ConflictA | Conflict resolution instance type |
type | OrdActor | Actor ordering instance type |
type | NumClock | Numeric clock instance type |
type | Actor | Actor type |
type | Clock | Clock type |
type | A | Value to version type |
method VersionVector<ConflictA, OrdActor, NumClock, Actor, Clock, A> Put ( VersionVector<ConflictA, OrdActor, NumClock, Actor, Clock, A> version) Source #
Register a write from any actor
param | actor | Actor that did the write operation |
param | value | Value that the actor wrote |
param | vector | The vector of the actor |
returns |
record VersionVector <ConflictA, Actor, A> (Option<A> Value, long TimeStamp, VectorClock<Actor> Vector) Source #
Version vector. Container of an optional value, a time-stamp, and a vector clock. Used to manage versioning of a single value. ConflictA allows for injectable conflict resolution.
type | ConflictA | Conflict resolution instance type |
type | Actor | Actor type |
type | A | Value to version type |