Module io.github.bucket4j.hazelcast
Class VersionedBackupProcessor<K>
- java.lang.Object
-
- io.github.bucket4j.grid.hazelcast.VersionedBackupProcessor<K>
-
- All Implemented Interfaces:
com.hazelcast.map.EntryProcessor<K,byte[],byte[]>,ComparableByContent<VersionedBackupProcessor>,Serializable
public class VersionedBackupProcessor<K> extends Object implements com.hazelcast.map.EntryProcessor<K,byte[],byte[]>, ComparableByContent<VersionedBackupProcessor>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VersionedBackupProcessor(byte[] state, Long ttlMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequalsByContent(VersionedBackupProcessor other)byte[]getState()LonggetTtlMillis()byte[]process(Map.Entry<K,byte[]> entry)
-
-
-
Constructor Detail
-
VersionedBackupProcessor
public VersionedBackupProcessor(byte[] state, Long ttlMillis)
-
-
Method Detail
-
getState
public byte[] getState()
-
getTtlMillis
public Long getTtlMillis()
-
equalsByContent
public boolean equalsByContent(VersionedBackupProcessor other)
- Specified by:
equalsByContentin interfaceComparableByContent<K>
-
-