Class Overview
Represents a node in the cluster
Summary
Nested Classes |
enum |
Node.NodeState |
|
Fields |
public
static
Node |
NOT_CLUSTERED |
Special node that is used when JIRA is not configured for clustering. |
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
public
static
Node
NOT_CLUSTERED
Special node that is used when JIRA is not configured for clustering.
Public Constructors
Creates a representation of a node.
Parameters
nodeId
| the node's ID, which must be neither null nor blank |
state
| the node's initial state, which must not be null |
cacheListenerPort
| the port the node will listen for new changes |
This constructor is used wherever the timestamp is not needed at all.
Parameters
nodeId
| the node's ID, which must be neither null nor blank |
state
| the node's initial state, which must not be null |
Public Methods
public
boolean
equals
(Object o)
public
Long
getCacheListenerPort
()
@Nullable
public
String
getNodeId
()
public
Long
getTimestamp
()
public
boolean
isClustered
()