org.rococoa.internal
Class OperationBatcher
java.lang.Object
org.rococoa.internal.OperationBatcher
- Direct Known Subclasses:
- AutoreleaseBatcher
public abstract class OperationBatcher
- extends Object
Batches calls to operate(), calling operation() once per batchsize.
- Author:
- duncan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationBatcher
public OperationBatcher(int batchSize)
operate
public void operate()
close
public void close()
operation
protected abstract void operation()
reset
protected abstract void reset()
Copyright © 2012. All Rights Reserved.