public abstract static class LockServiceProtos.LockService extends Object implements org.apache.hbase.thirdparty.com.google.protobuf.Service
hbase.pb.LockService| Modifier and Type | Class and Description |
|---|---|
static interface |
LockServiceProtos.LockService.BlockingInterface |
static interface |
LockServiceProtos.LockService.Interface |
static class |
LockServiceProtos.LockService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
LockService() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
org.apache.hbase.thirdparty.com.google.protobuf.Message request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done) |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
org.apache.hbase.thirdparty.com.google.protobuf.Message |
getRequestPrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) |
org.apache.hbase.thirdparty.com.google.protobuf.Message |
getResponsePrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract 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
|
static LockServiceProtos.LockService.BlockingInterface |
newBlockingStub(org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel channel) |
static org.apache.hbase.thirdparty.com.google.protobuf.BlockingService |
newReflectiveBlockingService(LockServiceProtos.LockService.BlockingInterface impl) |
static org.apache.hbase.thirdparty.com.google.protobuf.Service |
newReflectiveService(LockServiceProtos.LockService.Interface impl) |
static LockServiceProtos.LockService.Stub |
newStub(org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel channel) |
abstract 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
|
public static org.apache.hbase.thirdparty.com.google.protobuf.Service newReflectiveService(LockServiceProtos.LockService.Interface impl)
public static org.apache.hbase.thirdparty.com.google.protobuf.BlockingService newReflectiveBlockingService(LockServiceProtos.LockService.BlockingInterface impl)
public abstract 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);public abstract 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);public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic final void callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller,
org.apache.hbase.thirdparty.com.google.protobuf.Message request,
org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done)
callMethod in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic final org.apache.hbase.thirdparty.com.google.protobuf.Message getRequestPrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic final org.apache.hbase.thirdparty.com.google.protobuf.Message getResponsePrototype(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface org.apache.hbase.thirdparty.com.google.protobuf.Servicepublic static LockServiceProtos.LockService.Stub newStub(org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel channel)
public static LockServiceProtos.LockService.BlockingInterface newBlockingStub(org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2007–2019 Cloudera. All rights reserved.