public interface IInstance
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate the instance
|
void |
deactivate()
Deactivate the instance
|
void |
readTuplesAndExecute(Communicator<HeronTuples.HeronTupleSet> inQueue)
Read tuples from a queue and process the tuples
|
void |
start()
Do the basic setup for HeronInstance
|
void |
stop()
Do the basic clean for HeronInstance
Notice: this method is not guaranteed to invoke
TODO: - to avoid confusing, we in fact have never called this method yet
TODO: - need to consider whether or not call this method more carefully
|
void start()
void stop()
void readTuplesAndExecute(Communicator<HeronTuples.HeronTupleSet> inQueue)
inQueue
- the queue to read tuples fromvoid activate()
void deactivate()