Package akka.cluster.ddata.protobuf
Class ReplicatedDataSerializer.LWWMapEntryComparator$
- java.lang.Object
-
- akka.cluster.ddata.protobuf.ReplicatedDataSerializer.KeyComparator<ReplicatedDataMessages.LWWMap.Entry>
-
- akka.cluster.ddata.protobuf.ReplicatedDataSerializer.LWWMapEntryComparator$
-
- All Implemented Interfaces:
java.util.Comparator<ReplicatedDataMessages.LWWMap.Entry>
- Enclosing class:
- ReplicatedDataSerializer
public static class ReplicatedDataSerializer.LWWMapEntryComparator$ extends ReplicatedDataSerializer.KeyComparator<ReplicatedDataMessages.LWWMap.Entry>
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicatedDataSerializer.LWWMapEntryComparator$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description LWWMapEntryComparator$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getKey(ReplicatedDataMessages.LWWMap.Entry e)
Get the key from the entry.-
Methods inherited from class akka.cluster.ddata.protobuf.ReplicatedDataSerializer.KeyComparator
compare
-
-
-
-
Field Detail
-
MODULE$
public static final ReplicatedDataSerializer.LWWMapEntryComparator$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
getKey
public java.lang.Object getKey(ReplicatedDataMessages.LWWMap.Entry e)
Description copied from class:ReplicatedDataSerializer.KeyComparator
Get the key from the entry. The key may be a String, Int, Long, or OtherMessage- Specified by:
getKey
in classReplicatedDataSerializer.KeyComparator<ReplicatedDataMessages.LWWMap.Entry>
- Parameters:
e
- The protobuf entry used with Map types- Returns:
- The Key
-
-