com.atlassian.jira.cluster
Class OfBizClusterNodeStore
java.lang.Object
com.atlassian.jira.cluster.OfBizClusterNodeStore
public class OfBizClusterNodeStore
- extends Object
Responsible for storing and retrieving ClusterNode state in the underlying database
- Since:
- v6.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_ID
public static final String NODE_ID
- See Also:
- Constant Field Values
NODE_STATE
public static final String NODE_STATE
- See Also:
- Constant Field Values
OfBizClusterNodeStore
public OfBizClusterNodeStore(OfBizDelegator ofBizDelegator)
createNode
public Node createNode(@Nonnull
String nodeId,
@Nonnull
Node.NodeState state)
- Creates the node in the underlying database.
- Parameters:
nodeId
- - the node id to create and store in the underlying tablestate
- - the desired node state
storeNode
public Node storeNode(@Nonnull
String nodeId,
@Nonnull
Node.NodeState state)
- Stores the node in the underlying database.
- Parameters:
nodeId
- - the node id to store in the underlying tablestate
- - the desired node state
deleteNode
public int deleteNode(Node node)
- Parameters:
node
- the node to delete
- Returns:
- the mumebr of rows deleted
getNode
public Node getNode(String nodeId)
getAllNodes
public List<Node> getAllNodes()
findNodes
public List<Node> findNodes(org.ofbiz.core.entity.EntityCondition condition,
List<String> orderBy)
Copyright © 2002-2013 Atlassian. All Rights Reserved.