|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object storm.trident.spout.BatchSpoutExecutor.EmptyCoordinator
public static class BatchSpoutExecutor.EmptyCoordinator
Constructor Summary | |
---|---|
BatchSpoutExecutor.EmptyCoordinator()
|
Method Summary | |
---|---|
void |
close()
Release any resources from this coordinator. |
java.lang.Object |
initializeTransaction(long txid,
java.lang.Object prevMetadata)
Create metadata for this particular transaction id which has never been emitted before. |
boolean |
isReady(long txid)
|
void |
success(long txid)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchSpoutExecutor.EmptyCoordinator()
Method Detail |
---|
public java.lang.Object initializeTransaction(long txid, java.lang.Object prevMetadata)
ITridentSpout.BatchCoordinator
initializeTransaction
in interface ITridentSpout.BatchCoordinator
txid
- The id of the transaction.prevMetadata
- The metadata of the previous transaction
public void close()
ITridentSpout.BatchCoordinator
close
in interface ITridentSpout.BatchCoordinator
public void success(long txid)
success
in interface ITridentSpout.BatchCoordinator
public boolean isReady(long txid)
isReady
in interface ITridentSpout.BatchCoordinator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |