Class ReplicatedDataSerializer.PNCounterMapEntryComparator$
- java.lang.Object
-
- org.apache.pekko.cluster.ddata.protobuf.ReplicatedDataSerializer.KeyComparator<ReplicatedDataMessages.PNCounterMap.Entry>
-
- org.apache.pekko.cluster.ddata.protobuf.ReplicatedDataSerializer.PNCounterMapEntryComparator$
-
- All Implemented Interfaces:
java.util.Comparator<ReplicatedDataMessages.PNCounterMap.Entry>
- Enclosing class:
- ReplicatedDataSerializer
public static class ReplicatedDataSerializer.PNCounterMapEntryComparator$ extends ReplicatedDataSerializer.KeyComparator<ReplicatedDataMessages.PNCounterMap.Entry>
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicatedDataSerializer.PNCounterMapEntryComparator$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description PNCounterMapEntryComparator$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getKey(ReplicatedDataMessages.PNCounterMap.Entry e)
Get the key from the entry.-
Methods inherited from class org.apache.pekko.cluster.ddata.protobuf.ReplicatedDataSerializer.KeyComparator
compare
-
-
-
-
Field Detail
-
MODULE$
public static final ReplicatedDataSerializer.PNCounterMapEntryComparator$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
getKey
public java.lang.Object getKey(ReplicatedDataMessages.PNCounterMap.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.PNCounterMap.Entry>
- Parameters:
e
- The protobuf entry used with Map types- Returns:
- The Key
-
-