public abstract static class InterDatanodeProtocolProtos.InterDatanodeProtocolService extends Object implements com.google.protobuf.Service
hadoop.hdfs.InterDatanodeProtocolService
Protocol used between datanodes for block recovery. See the request and response for details of rpc call.
Modifier and Type | Class and Description |
---|---|
static interface |
InterDatanodeProtocolProtos.InterDatanodeProtocolService.BlockingInterface |
static interface |
InterDatanodeProtocolProtos.InterDatanodeProtocolService.Interface |
static class |
InterDatanodeProtocolProtos.InterDatanodeProtocolService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
InterDatanodeProtocolProtos.InterDatanodeProtocolService() |
Modifier and Type | Method and Description |
---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
initReplicaRecovery(com.google.protobuf.RpcController controller,
InterDatanodeProtocolProtos.InitReplicaRecoveryRequestProto request,
com.google.protobuf.RpcCallback<InterDatanodeProtocolProtos.InitReplicaRecoveryResponseProto> done)
rpc initReplicaRecovery(.hadoop.hdfs.InitReplicaRecoveryRequestProto) returns (.hadoop.hdfs.InitReplicaRecoveryResponseProto); |
static InterDatanodeProtocolProtos.InterDatanodeProtocolService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(InterDatanodeProtocolProtos.InterDatanodeProtocolService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(InterDatanodeProtocolProtos.InterDatanodeProtocolService.Interface impl) |
static InterDatanodeProtocolProtos.InterDatanodeProtocolService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
updateReplicaUnderRecovery(com.google.protobuf.RpcController controller,
InterDatanodeProtocolProtos.UpdateReplicaUnderRecoveryRequestProto request,
com.google.protobuf.RpcCallback<InterDatanodeProtocolProtos.UpdateReplicaUnderRecoveryResponseProto> done)
rpc updateReplicaUnderRecovery(.hadoop.hdfs.UpdateReplicaUnderRecoveryRequestProto) returns (.hadoop.hdfs.UpdateReplicaUnderRecoveryResponseProto); |
protected InterDatanodeProtocolProtos.InterDatanodeProtocolService()
public static com.google.protobuf.Service newReflectiveService(InterDatanodeProtocolProtos.InterDatanodeProtocolService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(InterDatanodeProtocolProtos.InterDatanodeProtocolService.BlockingInterface impl)
public abstract void initReplicaRecovery(com.google.protobuf.RpcController controller, InterDatanodeProtocolProtos.InitReplicaRecoveryRequestProto request, com.google.protobuf.RpcCallback<InterDatanodeProtocolProtos.InitReplicaRecoveryResponseProto> done)
rpc initReplicaRecovery(.hadoop.hdfs.InitReplicaRecoveryRequestProto) returns (.hadoop.hdfs.InitReplicaRecoveryResponseProto);
Initialize recovery of a replica
public abstract void updateReplicaUnderRecovery(com.google.protobuf.RpcController controller, InterDatanodeProtocolProtos.UpdateReplicaUnderRecoveryRequestProto request, com.google.protobuf.RpcCallback<InterDatanodeProtocolProtos.UpdateReplicaUnderRecoveryResponseProto> done)
rpc updateReplicaUnderRecovery(.hadoop.hdfs.UpdateReplicaUnderRecoveryRequestProto) returns (.hadoop.hdfs.UpdateReplicaUnderRecoveryResponseProto);
Update a replica with new generation stamp and length
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Service
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface com.google.protobuf.Service
public static InterDatanodeProtocolProtos.InterDatanodeProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static InterDatanodeProtocolProtos.InterDatanodeProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2013 Apache Software Foundation. All rights reserved.