Class StateChunk

java.lang.Object
org.infinispan.statetransfer.StateChunk

@ProtoTypeId(1174) public class StateChunk extends Object
Encapsulates a chunk of cache entries that belong to the same segment. This representation is suitable for sending it to another cache during state transfer.
Since:
5.2
Author:
anistor@redhat.com
  • Constructor Details

    • StateChunk

      public StateChunk(int segmentId, List<InternalCacheEntry<?,?>> cacheEntries, boolean isLastChunk)
  • Method Details

    • getSegmentId

      public int getSegmentId()
    • getCacheEntries

      public List<InternalCacheEntry<?,?>> getCacheEntries()
    • isLastChunk

      public boolean isLastChunk()
    • toString

      public String toString()
      Overrides:
      toString in class Object