Package | Description |
---|---|
org.apache.hadoop.hdfs.server.federation.router |
The router package includes the core services for a HDFS federation router.
|
Modifier and Type | Method and Description |
---|---|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeAll(Collection<T> locations,
RemoteMethod method)
Invoke method in all locations and return success if any succeeds.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method)
Invoke multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby)
Invoke multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby,
Class<R> clazz)
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby,
long timeOutMs,
Class<R> clazz)
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean standby,
long timeOutMs,
Class<R> clazz)
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
Class<R> clazz)
Invoke multiple concurrent proxy calls to different clients.
|
Object |
RouterRpcClient.invokeSequential(List<? extends RemoteLocationContext> locations,
RemoteMethod remoteMethod)
Invokes sequential proxy calls to different locations.
|
<T> T |
RouterRpcClient.invokeSequential(List<? extends RemoteLocationContext> locations,
RemoteMethod remoteMethod,
Class<T> expectedResultClass,
Object expectedResultValue)
Invokes sequential proxy calls to different locations.
|
Object |
RouterRpcClient.invokeSingle(org.apache.hadoop.hdfs.protocol.ExtendedBlock block,
RemoteMethod method)
Invokes a ClientProtocol method.
|
<T> T |
RouterRpcClient.invokeSingle(org.apache.hadoop.hdfs.protocol.ExtendedBlock extendedBlock,
RemoteMethod method,
Class<T> clazz)
Invokes a remote method against the specified extendedBlock.
|
<T> T |
RouterRpcClient.invokeSingle(RemoteLocationContext location,
RemoteMethod remoteMethod,
Class<T> clazz)
Invokes a single proxy call for a single location.
|
Object |
RouterRpcClient.invokeSingle(String nsId,
RemoteMethod method)
Invokes a ClientProtocol method against the specified namespace.
|
<T> T |
RouterRpcClient.invokeSingle(String nsId,
RemoteMethod method,
Class<T> clazz)
Invokes a remote method against the specified namespace.
|
Object |
RouterRpcClient.invokeSingleBlockPool(String bpId,
RemoteMethod method)
Invokes a ClientProtocol method.
|
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.