public class CacheDrStatus extends Object implements Externalizable
Modifier and Type | Field and Description |
---|---|
static CacheDrStatus |
ACTIVE
Status: not stopped.
|
Constructor and Description |
---|
CacheDrStatus()
Required by
Externalizable . |
CacheDrStatus(@Nullable CacheDrPauseReason reason,
@Nullable String errMsg)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
@Nullable String |
error()
Gets error description.
|
boolean |
paused()
Deprecated.
Use
stopped() method. |
void |
readExternal(ObjectInput in) |
@Nullable CacheDrPauseReason |
reason()
Gets stop reason.
|
boolean |
stopped()
Gets stop flag.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final CacheDrStatus ACTIVE
public CacheDrStatus()
Externalizable
.public CacheDrStatus(@Nullable @Nullable CacheDrPauseReason reason, @Nullable @Nullable String errMsg)
reason
- Pause reason.errMsg
- Error description.public boolean stopped()
True
if stopped.@Deprecated public boolean paused()
stopped()
method.True
if stopped.@Nullable public @Nullable CacheDrPauseReason reason()
null
if not stopped.@Nullable public @Nullable String error()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024