public class SimpleBatcher extends AbstractBatcher
Count
operations which have been applied.
Counters are aggregated by name.batchSubmitter
Constructor and Description |
---|
SimpleBatcher(int queueSize) |
Modifier and Type | Method and Description |
---|---|
long |
getBatchSubmissionCount() |
void |
setBatchSize(int batchSize) |
void |
setBlockingSubmit(boolean blockingSubmit) |
protected boolean |
shouldSubmit(com.usergrid.count.AbstractBatcher.Batch batch) |
protected void |
submit(com.usergrid.count.AbstractBatcher.Batch batch) |
add, getOpCount, setBatchSubmitter
protected boolean shouldSubmit(com.usergrid.count.AbstractBatcher.Batch batch)
shouldSubmit
in class AbstractBatcher
protected void submit(com.usergrid.count.AbstractBatcher.Batch batch)
submit
in class AbstractBatcher
public void setBatchSize(int batchSize)
public long getBatchSubmissionCount()
public void setBlockingSubmit(boolean blockingSubmit)
Copyright © 2013. All Rights Reserved.