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
-
-
Field Summary
-
Fields inherited from class com.mapr.client.impl.rpc.RpcClient
connection, serviceHosts
-
Fields inherited from class com.mapr.client.impl.rpc.RpcBinding
epoch, mapRClient, nextCallId, nextConnId
-
-
Constructor Summary
Constructors Constructor Description CldbClient(MapRClient mapRClient, Cluster cluster)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.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(java.lang.String rootPath)com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.isCLDBMasterResponse>getCLDBMaster()com.stumbleupon.async.Deferred<java.lang.Object>startClient()com.stumbleupon.async.Deferred<java.lang.Object>stopClient()-
Methods inherited from class com.mapr.client.impl.rpc.RpcClient
sendRequest, startBinding, stopBinding
-
Methods inherited from class com.mapr.client.impl.rpc.RpcBinding
getClientEventLoopGroup, getMapRClient, isSecure, isStarted, nextCallId, nextConnId, start, stop
-
-
-
-
Constructor Detail
-
CldbClient
public CldbClient(MapRClient mapRClient, Cluster cluster)
-
-
Method Detail
-
startClient
public com.stumbleupon.async.Deferred<java.lang.Object> startClient()
- Overrides:
startClientin classRpcClient
-
stopClient
public com.stumbleupon.async.Deferred<java.lang.Object> stopClient()
- Overrides:
stopClientin classRpcClient
-
getCLDBMaster
public com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.isCLDBMasterResponse> getCLDBMaster() throws java.lang.InterruptedException, java.lang.Exception- Throws:
java.lang.InterruptedExceptionjava.lang.Exception
-
containerRootLookup
public com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.ContainerRootLookupResponse> containerRootLookup(java.lang.String rootPath) throws java.lang.InterruptedException, java.lang.Exception- Throws:
java.lang.InterruptedExceptionjava.lang.Exception
-
containerLookup
public com.stumbleupon.async.Deferred<com.mapr.fs.cldb.proto.CLDBProto.ContainerLookupResponse> containerLookup(int containerId) throws java.lang.InterruptedException, java.lang.Exception- Throws:
java.lang.InterruptedExceptionjava.lang.Exception
-
-