Class StateChunk
java.lang.Object
org.infinispan.statetransfer.StateChunk
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 Summary
ConstructorsConstructorDescriptionStateChunk(int segmentId, List<InternalCacheEntry<?, ?>> cacheEntries, boolean isLastChunk) -
Method Summary
-
Constructor Details
-
StateChunk
-
-
Method Details
-
getSegmentId
public int getSegmentId() -
getCacheEntries
-
isLastChunk
public boolean isLastChunk() -
toString
-