com.atlassian.jira.cluster
Class Node

java.lang.Object
  extended by com.atlassian.jira.cluster.Node

public class Node
extends Object

Represents a node in the cluster

Since:
v6.1

Nested Class Summary
static class Node.NodeState
           
 
Constructor Summary
Node(String nodeId, Node.NodeState state)
           
 
Method Summary
 boolean equals(Object o)
           
 String getNodeId()
           
 Node.NodeState getState()
           
 int hashCode()
           
 boolean isClustered()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(String nodeId,
            Node.NodeState state)
Method Detail

getState

public Node.NodeState getState()

getNodeId

@Nullable
public String getNodeId()

isClustered

public boolean isClustered()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.