| Modifier and Type | Method and Description |
|---|---|
protected List<RelationHolder> |
ClientBase.getRelationHolders(Node node) |
protected void |
ClientBase.indexNode(Node node,
EntityMetadata entityMetadata) |
void |
Client.persist(Node node)
Data node to persist entity with specific client.
|
void |
ClientBase.persist(Node node)
Method to handle
|
| Modifier and Type | Field and Description |
|---|---|
private Node |
ObjectGraph.headNode |
private Node |
GraphBuilder.NodeBuilder.node |
private Node |
Node.originalNode |
private Node |
GraphBuilder.RelationBuilder.source |
| Modifier and Type | Field and Description |
|---|---|
private Map<NodeLink,Node> |
Node.children |
private Map<String,Node> |
ObjectGraph.nodeMapping |
private Map<NodeLink,Node> |
Node.parents |
(package private) Set<Node> |
GraphGenerator.traversedNodes |
| Modifier and Type | Method and Description |
|---|---|
Node |
GraphBuilder.buildNode(Object entity,
PersistenceDelegator pd,
Object entityId,
NodeState nodeState)
On build node.
|
Node |
Node.clone() |
(package private) <E> Node |
GraphGenerator.generate(E entity,
PersistenceDelegator delegator,
PersistenceCache pc,
NodeState state)
Generate graph for head node.
|
Node |
Node.getChildNode(String childNodeId)
Retrieves child node of this node for a given child node ID
|
Node |
ObjectGraph.getHeadNode() |
(package private) Node |
GraphBuilder.RelationBuilder.getNode()
Returns built node.
|
private Node |
ObjectGraphBuilder.getNode(Object entity,
ObjectGraph graph,
NodeState initialNodeState)
Constructs and returns
Node representation for a given entity
object. |
(package private) Node |
ObjectGraph.getNode(String nodeId)
Returns Node for a given node ID
|
Node |
Node.getOriginalNode() |
Node |
Node.getParentNode(String parentNodeId)
Retrieves parent node of this node for a given parent node ID
|
private <E> Node |
GraphGenerator.traverseNode(E entity,
PersistenceDelegator delegator,
PersistenceCache pc,
Object entityId,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
Map<NodeLink,Node> |
Node.getChildren() |
Map<String,Node> |
ObjectGraph.getNodeMapping() |
Map<NodeLink,Node> |
Node.getParents() |
| Modifier and Type | Method and Description |
|---|---|
void |
Node.addChildNode(NodeLink nodeLink,
Node node) |
private void |
ObjectGraphBuilder.addChildNodesToGraph(ObjectGraph graph,
Node node,
Relation relation,
Object childObject,
NodeState initialNodeState) |
void |
ObjectGraph.addNode(String nodeId,
Node node)
Adds a
Node with a give nodeId to object graph. |
void |
Node.addParentNode(NodeLink nodeLink,
Node node) |
GraphBuilder |
GraphBuilder.assignHeadNode(Node headNode)
Assign head node to graph
|
private void |
GraphGenerator.assignNodeLinkProperty(Node node,
Relation relation,
Node childNode)
On assigning node link properties
|
(package private) GraphBuilder.RelationBuilder |
GraphBuilder.getRelationBuilder(Object target,
Relation relation,
Node source)
Returns relation builder instance.
|
(package private) void |
GraphGenerator.onBuildChildNode(Object childObject,
EntityMetadata childMetadata,
PersistenceDelegator delegator,
PersistenceCache pc,
Node node,
Relation relation)
On building child node
|
private void |
GraphBuilder.NodeBuilder.onDirtyCheck(Object entity,
Node node)
Check for dirty.
|
(package private) void |
ObjectGraph.setHeadNode(Node headNode) |
(package private) void |
GraphGenerator.setLink(Node node,
Relation relation,
Node childNode,
NodeLink nodeLink)
Set link property
|
void |
Node.setOriginalNode(Node originalNode) |
private <E> Node |
GraphGenerator.traverseNode(E entity,
PersistenceDelegator delegator,
PersistenceCache pc,
Object entityId,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
Node.setChildren(Map<NodeLink,Node> children) |
void |
Node.setParents(Map<NodeLink,Node> parents) |
| Constructor and Description |
|---|
GraphBuilder.RelationBuilder(Object target,
Relation relation,
Node source) |
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeStateContext.getChildNode(String childNodeId) |
Node |
NodeStateContext.getParentNode(String parentNodeId) |
| Modifier and Type | Method and Description |
|---|---|
Map<NodeLink,Node> |
NodeStateContext.getChildren() |
Map<NodeLink,Node> |
NodeStateContext.getParents() |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeStateContext.addChildNode(NodeLink nodeLink,
Node node) |
void |
NodeStateContext.addParentNode(NodeLink nodeLink,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeStateContext.setChildren(Map<NodeLink,Node> children) |
void |
NodeStateContext.setParents(Map<NodeLink,Node> parents) |
| Modifier and Type | Field and Description |
|---|---|
private List<Node> |
DefaultTransactionResource.nodes |
| Modifier and Type | Method and Description |
|---|---|
private void |
PersistenceDelegator.onSynchronization(Node node,
EntityMetadata metadata)
If transaction is in progress and user explicitly invokes em.flush()!
|
(package private) void |
DefaultTransactionResource.syncNode(Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
Batcher.addBatch(Node node)
Adds node to batch collection.
|
| Modifier and Type | Field and Description |
|---|---|
private Node |
EventLog.node |
| Modifier and Type | Field and Description |
|---|---|
private Set<Node> |
CacheBase.headNodes |
private Map<String,Node> |
CacheBase.nodeMappings |
private Deque<Node> |
FlushManager.stackQueue
Deque containing Nodes to be flushed Entities are always flushed from the
start, there way to end until deque is empty.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Node |
EventLog.getNode() |
Node |
CacheBase.getNodeFromCache(Object entity,
EntityMetadata entityMetadata,
PersistenceDelegator pd) |
Node |
CacheBase.getNodeFromCache(String nodeId,
PersistenceDelegator pd) |
(package private) Node |
EventLog.getSavePointData() |
private Node |
CacheBase.lookupL2Cache(String nodeId,
PersistenceDelegator pd) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Node> |
CacheBase.getAllNodes() |
Deque<Node> |
FlushManager.getFlushStack()
Gets the flush stack.
|
Set<Node> |
CacheBase.getHeadNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheBase.addHeadNode(Node headNode) |
private void |
FlushManager.addNodesToFlushStack(Node node,
EventLog.EventType eventType)
Adds the nodes to flush stack.
|
void |
CacheBase.addNodeToCache(Node node) |
void |
FlushManager.buildFlushStack(Node headNode,
EventLog.EventType eventType)
Builds the flush stack.
|
private void |
CacheBase.evictFroml2Cache(Node node) |
private void |
FlushManager.logEvent(Node node,
EventLog.EventType eventType)
Log event.
|
private void |
FlushManager.performOperation(Node node,
EventLog.EventType eventType) |
void |
CacheBase.processNodeMapping(Node node) |
void |
CacheBase.removeNodeFromCache(Node node) |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheBase.setNodeMappings(Map<String,Node> nodeMappings) |
| Constructor and Description |
|---|
EventLog(EventLog.EventType eventType,
Node transactional) |
Copyright © 2015. All Rights Reserved.