Class WeightedBatch<T>
java.lang.Object
com.gigaspaces.internal.server.space.redolog.storage.bytebuffer.WeightedBatch<T>
- Since:
- 12.1
- Author:
- yael nahon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToBatch(T packet) getBatch()longbooleanvoidvoidsetLimitReached(boolean limitReached) voidsetWeight(long weight) intsize()
-
Constructor Details
-
WeightedBatch
public WeightedBatch(long lastCompactionRangeEndKey)
-
-
Method Details
-
getBatch
-
setBatch
-
getWeight
public long getWeight() -
setWeight
public void setWeight(long weight) -
isLimitReached
public boolean isLimitReached() -
setLimitReached
public void setLimitReached(boolean limitReached) -
getCompactionResult
-
addToBatch
-
size
public int size()
-