Package akka.cluster.ddata
Class ORMap.RemoveKeyDeltaOp<A,B extends ReplicatedData>
- java.lang.Object
-
- akka.cluster.ddata.ORMap.AtomicDeltaOp<A,B>
-
- akka.cluster.ddata.ORMap.RemoveKeyDeltaOp<A,B>
-
- All Implemented Interfaces:
ORMap.DeltaOp
,ReplicatedData
,ReplicatedDataSerialization
,ReplicatedDelta
,ReplicatedDeltaSize
,RequiresCausalDeliveryOfDeltas
,java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing class:
- ORMap<A,B extends ReplicatedData>
public static final class ORMap.RemoveKeyDeltaOp<A,B extends ReplicatedData> extends ORMap.AtomicDeltaOp<A,B> implements scala.Product, scala.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveKeyDeltaOp(ORSet.DeltaOp underlying, A removedKey, ORMap.ZeroTag zeroTag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
<A,B extends ReplicatedData>
ORMap.RemoveKeyDeltaOp<A,B>copy(ORSet.DeltaOp underlying, A removedKey, ORMap.ZeroTag zeroTag)
<A,B extends ReplicatedData>
ORSet.DeltaOpcopy$default$1()
<A,B extends ReplicatedData>
Acopy$default$2()
<A,B extends ReplicatedData>
ORMap.ZeroTagcopy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
A
removedKey()
java.lang.String
toString()
ORSet.DeltaOp
underlying()
Implements a 'Observed Remove Map' CRDT, also called a 'OR-Map'.ORMap.ZeroTag
zeroTag()
-
Methods inherited from class akka.cluster.ddata.ORMap.AtomicDeltaOp
deltaSize, merge, zero
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface akka.cluster.ddata.ReplicatedData
merge
-
-
-
-
Constructor Detail
-
RemoveKeyDeltaOp
public RemoveKeyDeltaOp(ORSet.DeltaOp underlying, A removedKey, ORMap.ZeroTag zeroTag)
-
-
Method Detail
-
underlying
public ORSet.DeltaOp underlying()
Implements a 'Observed Remove Map' CRDT, also called a 'OR-Map'.It has similar semantics as an
ORSet
, but in case of concurrent updates the values are merged, and must therefore beReplicatedData
types themselves.This class is immutable, i.e. "modifying" methods return a new instance.
- Specified by:
underlying
in classORMap.AtomicDeltaOp<A,B extends ReplicatedData>
- Returns:
- (undocumented)
-
removedKey
public A removedKey()
-
zeroTag
public ORMap.ZeroTag zeroTag()
- Specified by:
zeroTag
in classORMap.AtomicDeltaOp<A,B extends ReplicatedData>
-
copy
public <A,B extends ReplicatedData> ORMap.RemoveKeyDeltaOp<A,B> copy(ORSet.DeltaOp underlying, A removedKey, ORMap.ZeroTag zeroTag)
-
copy$default$1
public <A,B extends ReplicatedData> ORSet.DeltaOp copy$default$1()
-
copy$default$2
public <A,B extends ReplicatedData> A copy$default$2()
-
copy$default$3
public <A,B extends ReplicatedData> ORMap.ZeroTag copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-