org.infinispan.statetransfer
Class StateChunk
java.lang.Object
org.infinispan.statetransfer.StateChunk
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
StateChunk
public StateChunk(int segmentId,
Collection<InternalCacheEntry> cacheEntries,
boolean isLastChunk)
getSegmentId
public int getSegmentId()
getCacheEntries
public Collection<InternalCacheEntry> getCacheEntries()
isLastChunk
public boolean isLastChunk()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.