|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jdbc.utils.batchable.Batchable.BatchGroup
public static class Batchable.BatchGroup
Groups together a set of batches into one. BatchGroups can contain any Batchable, including other BatchGroups.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openanzo.jdbc.utils.batchable.Batchable |
|---|
Batchable.BatchGroup, Batchable.BatchOperation, Batchable.BatchOperationSet, Batchable.NullBatch |
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.jdbc.utils.batchable.Batchable |
|---|
EMPTY_BATCH |
| Constructor Summary | |
|---|---|
Batchable.BatchGroup()
Create a new BatchGroup |
|
Batchable.BatchGroup(Batchable... batchableItems)
Create a new BatchGroup with 0 or more Batchable items |
|
Batchable.BatchGroup(java.util.Collection<Batchable> batchItem)
Create a BatchGroup with given batchItems |
|
| Method Summary | |
|---|---|
void |
addBatchItem(Batchable item)
Add Batchable to group |
boolean |
isEmpty()
Is this group empty |
java.util.List<Batchable.BatchOperation> |
listBatchOperations()
Get the current list of batch operations for this object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Batchable.BatchGroup()
public Batchable.BatchGroup(Batchable... batchableItems)
batchableItems - 0 or more Batchable itemspublic Batchable.BatchGroup(java.util.Collection<Batchable> batchItem)
batchItem - Collection of Batchables to add| Method Detail |
|---|
public void addBatchItem(Batchable item)
item - Batchable to addpublic boolean isEmpty()
public java.util.List<Batchable.BatchOperation> listBatchOperations()
Batchable
listBatchOperations in interface Batchable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||