|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.bulkbuilder.helper.MicroBulkbuilder
public class MicroBulkbuilder
Helper for creating and administrating micro bulks.
| Constructor Summary | |
|---|---|
MicroBulkbuilder(long limitOfParallelBulks)
|
|
| Method Summary | |
|---|---|
void |
addToMicroBulk(java.lang.String microBulkId,
Record record)
add record to the micro bulk identified by the given id. |
byte[] |
finishMicroBulk(java.lang.String microBulkId)
This also removes the micro bulk and its counter entry. |
java.lang.Integer |
getNumberOfRecords(java.lang.String microBulkId)
Returns number of records for given micro bulk id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MicroBulkbuilder(long limitOfParallelBulks)
limitOfParallelBulks - the maximum number of parallel micro bulks to process. (-1 = unlimited)| Method Detail |
|---|
public void addToMicroBulk(java.lang.String microBulkId,
Record record)
throws BulkbuilderException
BulkbuilderExceptionpublic byte[] finishMicroBulk(java.lang.String microBulkId)
public java.lang.Integer getNumberOfRecords(java.lang.String microBulkId)
microBulkId - The micro bulk id
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||