trait CrdtFactory extends AnyRef
Factory for creating CRDTs.
This is used both by CRDT contexts that allow creating CRDTs, as well as by CRDTs that allow nesting other CRDTs.
CRDTs may only be created by a supplied CRDT factory, CRDTs created any other way will not be known by the library and so won't have their deltas synced to and from the proxy.
- Alphabetic
- By Inheritance
- CrdtFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
newFlag(): Flag
Create a new Flag.
Create a new Flag.
- returns
The new Flag.
-
abstract
def
newGCounter(): GCounter
Create a new GCounter.
Create a new GCounter.
- returns
The new GCounter.
-
abstract
def
newGSet[T](): GSet[T]
Create a new GSet.
Create a new GSet.
- returns
The new GSet.
-
abstract
def
newLWWRegister[T](value: T): LWWRegister[T]
Create a new LWWRegister.
Create a new LWWRegister.
- returns
The new LWWRegister.
-
abstract
def
newORMap[K, V <: Crdt](): ORMap[K, V]
Create a new ORMap.
Create a new ORMap.
- returns
The new ORMap.
-
abstract
def
newORSet[T](): ORSet[T]
Create a new ORSet.
Create a new ORSet.
- returns
The new ORSet.
-
abstract
def
newPNCounter(): PNCounter
Create a new PNCounter.
Create a new PNCounter.
- returns
The new PNCounter.
-
abstract
def
newVote(): Vote
Create a new Vote.
Create a new Vote.
- returns
The new Vote.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()