|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.internal.OperationBatcher
public abstract class OperationBatcher
Batches calls to operate(), calling operation() once per batchsize.
Constructor Summary | |
---|---|
OperationBatcher(int batchSize)
|
Method Summary | |
---|---|
void |
close()
|
void |
operate()
|
protected abstract void |
operation()
|
protected abstract void |
reset()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationBatcher(int batchSize)
Method Detail |
---|
public void operate()
public void close()
protected abstract void operation()
protected abstract void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |