public abstract class RaftNodeStatusAwareTask extends Object implements Runnable
RaftNodeImpl
.
If this RaftNode is terminated or stepped down, task will be skipped.
Subclasses must implement innerRun()
method.
Modifier and Type | Field and Description |
---|---|
protected ILogger |
logger |
protected RaftNodeImpl |
raftNode |
Modifier | Constructor and Description |
---|---|
protected |
RaftNodeStatusAwareTask(RaftNodeImpl raftNode) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
innerRun() |
void |
run() |
protected final RaftNodeImpl raftNode
protected final ILogger logger
protected RaftNodeStatusAwareTask(RaftNodeImpl raftNode)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.