public class AppendRequestHandlerTask extends RaftNodeStatusAwareTask implements Runnable
AppendRequest
sent by the leader. Responds with
an AppendSuccessResponse
if append is successful, responds with
an AppendFailureResponse
otherwise.
See 5.3 Log replication section of In Search of an Understandable Consensus Algorithm paper by Diego Ongaro and John Ousterhout.
AppendRequest
,
AppendSuccessResponse
,
AppendFailureResponse
logger, raftNode
Constructor and Description |
---|
AppendRequestHandlerTask(RaftNodeImpl raftNode,
AppendRequest req) |
Modifier and Type | Method and Description |
---|---|
protected void |
innerRun() |
run
public AppendRequestHandlerTask(RaftNodeImpl raftNode, AppendRequest req)
protected void innerRun()
innerRun
in class RaftNodeStatusAwareTask
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.