public abstract static class DeadlockGrpc.DeadlockImplBase extends Object implements io.grpc.BindableService
Constructor and Description |
---|
DeadlockImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
io.grpc.stub.StreamObserver<DeadlockOuterClass.DeadlockRequest> |
detect(io.grpc.stub.StreamObserver<DeadlockOuterClass.DeadlockResponse> responseObserver)
Detect should only sent to the owner.
|
void |
getWaitForEntries(DeadlockOuterClass.WaitForEntriesRequest request,
io.grpc.stub.StreamObserver<DeadlockOuterClass.WaitForEntriesResponse> responseObserver)
Get local wait for entries, should be handle by every node.
|
public void getWaitForEntries(DeadlockOuterClass.WaitForEntriesRequest request, io.grpc.stub.StreamObserver<DeadlockOuterClass.WaitForEntriesResponse> responseObserver)
Get local wait for entries, should be handle by every node. The owner should sent this request to all members to build the complete wait for graph.
public io.grpc.stub.StreamObserver<DeadlockOuterClass.DeadlockRequest> detect(io.grpc.stub.StreamObserver<DeadlockOuterClass.DeadlockResponse> responseObserver)
Detect should only sent to the owner. only be handled by the owner. The DeadlockResponse is sent back only if there is deadlock detected. CleanUpWaitFor and CleanUp doesn't return responses.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService
Copyright © 2023 PingCAP. All rights reserved.