Package com.mapr.client.impl.clients
Class CldbClient
java.lang.Object
com.mapr.client.impl.rpc.RpcBinding
com.mapr.client.impl.rpc.RpcClient
com.mapr.client.impl.clients.CldbClient
- All Implemented Interfaces:
LifeCycle
-
Field Summary
Fields inherited from class com.mapr.client.impl.rpc.RpcClient
connection, serviceHostsFields inherited from class com.mapr.client.impl.rpc.RpcBinding
epoch, mapRClient, nextCallId, nextConnId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.ContainerLookupResponse>containerLookup(int containerId) com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.ContainerRootLookupResponse>containerRootLookup(String rootPath) com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.isCLDBMasterResponse>com.stumbleupon.async.Deferred<Object>com.stumbleupon.async.Deferred<Object>Methods inherited from class com.mapr.client.impl.rpc.RpcClient
sendRequest, startBinding, stopBindingMethods inherited from class com.mapr.client.impl.rpc.RpcBinding
getClientEventLoopGroup, getMapRClient, isSecure, isStarted, nextCallId, nextConnId, start, stop
-
Constructor Details
-
CldbClient
-
-
Method Details
-
startClient
- Overrides:
startClientin classRpcClient
-
stopClient
- Overrides:
stopClientin classRpcClient
-
getCLDBMaster
public com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.isCLDBMasterResponse> getCLDBMaster() throws InterruptedException, Exception- Throws:
InterruptedExceptionException
-
containerRootLookup
public com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.ContainerRootLookupResponse> containerRootLookup(String rootPath) throws InterruptedException, Exception - Throws:
InterruptedExceptionException
-
containerLookup
public com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.ContainerLookupResponse> containerLookup(int containerId) throws InterruptedException, Exception - Throws:
InterruptedExceptionException
-