Class StateChunk


  • public class StateChunk
    extends java.lang.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 Detail

      • StateChunk

        public StateChunk​(int segmentId,
                          java.util.Collection<InternalCacheEntry> cacheEntries,
                          boolean isLastChunk)
    • Method Detail

      • getSegmentId

        public int getSegmentId()
      • isLastChunk

        public boolean isLastChunk()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object