Package org.infinispan.counter.impl.weak
Class WeakCounterKey
- java.lang.Object
-
- org.infinispan.counter.impl.weak.WeakCounterKey
-
- All Implemented Interfaces:
CounterKey
@ProtoTypeId(127) public class WeakCounterKey extends Object implements CounterKey
The key to store in theCacheused byWeakCounter.The weak consistent counters splits the counter's value in multiple keys. This class contains the index.
- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.infinispan.util.ByteStringgetCounterName()inthashCode()StringtoString()
-
-
-
Method Detail
-
getCounterName
@ProtoField(1) public org.infinispan.util.ByteString getCounterName()
- Specified by:
getCounterNamein interfaceCounterKey- Returns:
- The counter name.
-
-