public static interface LockServiceProtos.LockService.Interface
| Modifier and Type | Method and Description |
|---|---|
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
|
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
|
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 Cloudera. All rights reserved.