public class DummyRiver extends AbstractRiverComponent implements River
logger, riverName, settings
Constructor and Description |
---|
DummyRiver(RiverName riverName,
RiverSettings settings) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Called when the river is closed on a node, which can happen when:
1) the river is deleted by deleting its type through the delete mapping api
2) the node where the river is allocated is shut down or the river gets rerouted to another node
|
void |
start()
Called whenever the river is registered on a node, which can happen when:
1) the river _meta document gets indexed
2) an already registered river gets started on a node
|
nodeName, riverName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
riverName
@Inject public DummyRiver(RiverName riverName, RiverSettings settings)
public void start()
River
public void close()
River
Copyright © 2009–2015. All rights reserved.