public class RaftJournalServiceHandler extends RaftJournalServiceGrpc.RaftJournalServiceImplBase
Constructor and Description |
---|
RaftJournalServiceHandler(org.apache.ratis.statemachine.StateMachineStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
requestLatestSnapshotData(SnapshotMetadata request,
io.grpc.stub.StreamObserver<SnapshotData> responseObserver)
Request to download the snapshot information from a particular machine.
|
void |
requestLatestSnapshotInfo(LatestSnapshotInfoPRequest request,
io.grpc.stub.StreamObserver<SnapshotMetadata> responseObserver)
Requests information about snapshots on a particular machine.
|
bindService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
downloadSnapshot, uploadSnapshot
public RaftJournalServiceHandler(org.apache.ratis.statemachine.StateMachineStorage storage)
storage
- the storage that the state machine uses for its snapshotspublic void requestLatestSnapshotInfo(LatestSnapshotInfoPRequest request, io.grpc.stub.StreamObserver<SnapshotMetadata> responseObserver)
RaftJournalServiceGrpc.AsyncService
Requests information about snapshots on a particular machine.
public void requestLatestSnapshotData(SnapshotMetadata request, io.grpc.stub.StreamObserver<SnapshotData> responseObserver)
RaftJournalServiceGrpc.AsyncService
Request to download the snapshot information from a particular machine.
Copyright © 2023. All Rights Reserved.