public class NodeBasedContext extends BaseTimerDrivenModuleContext<org.neo4j.graphdb.Node>
BaseTimerDrivenModuleContext with Node as the position representation and no extra data.ASAP| Constructor and Description |
|---|
NodeBasedContext(long nodeId)
Construct a new context.
|
NodeBasedContext(long nodeId,
long earliestNextCall)
Construct a new context.
|
NodeBasedContext(org.neo4j.graphdb.Node node)
Construct a new context.
|
NodeBasedContext(org.neo4j.graphdb.Node node,
long earliestNextCall)
Construct a new context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.neo4j.graphdb.Node |
find(org.neo4j.graphdb.GraphDatabaseService database)
Find the position in the database.
|
int |
hashCode() |
earliestNextCallpublic NodeBasedContext(long nodeId)
nodeId - ID of the node.public NodeBasedContext(org.neo4j.graphdb.Node node)
node - the node. Must not be null.public NodeBasedContext(long nodeId,
long earliestNextCall)
nodeId - ID of the node.earliestNextCall - time in ms since 1/1/1970 when the module wants to be called next at the earliest.public NodeBasedContext(org.neo4j.graphdb.Node node,
long earliestNextCall)
node - the node. Must not be null.earliestNextCall - time in ms since 1/1/1970 when the module wants to be called next at the earliest.public org.neo4j.graphdb.Node find(org.neo4j.graphdb.GraphDatabaseService database)
database - The GraphDatabaseService in which to find the position.public boolean equals(Object o)
equals in class BaseTimerDrivenModuleContext<org.neo4j.graphdb.Node>public int hashCode()
hashCode in class BaseTimerDrivenModuleContext<org.neo4j.graphdb.Node>Copyright © 2013-2016–2018 Graph Aware Limited. All rights reserved.