public abstract static class GroupIntoBatches.BatchingParams
extends java.lang.Object
implements java.io.Serializable
GroupIntoBatches
and GroupIntoBatches.WithShardedKey
.Constructor and Description |
---|
BatchingParams() |
Modifier and Type | Method and Description |
---|---|
static GroupIntoBatches.BatchingParams |
create(long batchSize,
org.joda.time.Duration maxBufferingDuration) |
abstract long |
getBatchSize() |
abstract org.joda.time.Duration |
getMaxBufferingDuration() |
public static GroupIntoBatches.BatchingParams create(long batchSize, org.joda.time.Duration maxBufferingDuration)
public abstract long getBatchSize()
public abstract org.joda.time.Duration getMaxBufferingDuration()