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:
  • Constructor Details

    • VersionedBackupProcessor

      public VersionedBackupProcessor(byte[] state, Long ttlMillis)
  • Method Details

    • getState

      public byte[] getState()
    • getTtlMillis

      public Long getTtlMillis()
    • equalsByContent

      public boolean equalsByContent(VersionedBackupProcessor other)
      Specified by:
      equalsByContent in interface ComparableByContent<K>
    • process

      public byte[] process(Map.Entry<K,byte[]> entry)
      Specified by:
      process in interface com.hazelcast.map.EntryProcessor<K,byte[],byte[]>