Class ReIndexNodeStatus
- java.lang.Object
-
- com.atlassian.confluence.index.status.ReIndexNodeStatus
-
- All Implemented Interfaces:
Serializable
public class ReIndexNodeStatus extends Object implements Serializable
Hold data about a node and its status during a cluster re-index- Since:
- 7.6.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReIndexNodeStatus.State
This state is a node state
-
Constructor Summary
Constructors Constructor Description ReIndexNodeStatus()
ReIndexNodeStatus(String nodeId, ReIndexNodeStatus.State state)
ReIndexNodeStatus(String nodeId, ReIndexNodeStatus.State state, @Nullable ReIndexError error)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@Nullable ReIndexError
getError()
String
getNodeId()
ReIndexJob.Progress
getProgress()
ReIndexNodeStatus.State
getState()
int
hashCode()
boolean
isComplete()
boolean
isFailed()
boolean
isFinished()
void
setError(ReIndexError error)
void
setNodeId(String nodeId)
void
setProgress(ReIndexJob.Progress progress)
void
setState(ReIndexNodeStatus.State state)
String
toString()
-
-
-
Constructor Detail
-
ReIndexNodeStatus
public ReIndexNodeStatus()
-
ReIndexNodeStatus
public ReIndexNodeStatus(String nodeId, ReIndexNodeStatus.State state)
-
ReIndexNodeStatus
public ReIndexNodeStatus(String nodeId, ReIndexNodeStatus.State state, @Nullable ReIndexError error)
-
-
Method Detail
-
getNodeId
public String getNodeId()
-
setNodeId
public void setNodeId(String nodeId)
-
getState
public ReIndexNodeStatus.State getState()
-
setState
public void setState(ReIndexNodeStatus.State state)
-
getError
public @Nullable ReIndexError getError()
-
setError
public void setError(ReIndexError error)
-
setProgress
public void setProgress(ReIndexJob.Progress progress)
-
getProgress
public ReIndexJob.Progress getProgress()
-
isFailed
public boolean isFailed()
-
isComplete
public boolean isComplete()
-
isFinished
public boolean isFinished()
-
-