public static interface LockServiceProtos.LockService.Interface
| 限定符和类型 | 方法和说明 |
|---|---|
void |
lockHeartbeat(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
LockServiceProtos.LockHeartbeatRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<LockServiceProtos.LockHeartbeatResponse> done)
Keep alive (or not) a previously acquired lock
rpc LockHeartbeat(.hbase.pb.LockHeartbeatRequest) returns (.hbase.pb.LockHeartbeatResponse); |
void |
requestLock(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
LockServiceProtos.LockRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<LockServiceProtos.LockResponse> done)
Acquire lock on namespace/table/region
rpc RequestLock(.hbase.pb.LockRequest) returns (.hbase.pb.LockResponse); |
void requestLock(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
LockServiceProtos.LockRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<LockServiceProtos.LockResponse> done)
Acquire lock on namespace/table/region
rpc RequestLock(.hbase.pb.LockRequest) returns (.hbase.pb.LockResponse);void lockHeartbeat(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
LockServiceProtos.LockHeartbeatRequest request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<LockServiceProtos.LockHeartbeatResponse> done)
Keep alive (or not) a previously acquired lock
rpc LockHeartbeat(.hbase.pb.LockHeartbeatRequest) returns (.hbase.pb.LockHeartbeatResponse);Copyright © 2007–2019. All rights reserved.