| 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 | Description |
|---|---|---|
<T extends RemoteLocationContext> |
RouterRpcClient.invokeAll(java.util.Collection<T> locations,
RemoteMethod method) |
Invoke method in all locations and return success if any succeeds.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(java.util.Collection<T> locations,
RemoteMethod method) |
Invoke multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(java.util.Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby) |
Invoke multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(java.util.Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby,
long timeOutMs,
java.lang.Class<R> clazz) |
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(java.util.Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby,
java.lang.Class<R> clazz) |
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(java.util.Collection<T> locations,
RemoteMethod method,
boolean standby,
long timeOutMs,
java.lang.Class<R> clazz) |
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(java.util.Collection<T> locations,
RemoteMethod method,
java.lang.Class<R> clazz) |
Invoke multiple concurrent proxy calls to different clients.
|
<T> T |
RouterRpcClient.invokeSequential(java.util.List<? extends RemoteLocationContext> locations,
RemoteMethod remoteMethod) |
Invokes sequential proxy calls to different locations.
|
<T> T |
RouterRpcClient.invokeSequential(java.util.List<? extends RemoteLocationContext> locations,
RemoteMethod remoteMethod,
java.lang.Class<T> expectedResultClass,
java.lang.Object expectedResultValue) |
Invokes sequential proxy calls to different locations.
|
<R extends RemoteLocationContext,T> |
RouterRpcClient.invokeSequential(RemoteMethod remoteMethod,
java.util.List<R> locations,
java.lang.Class<T> expectedResultClass,
java.lang.Object expectedResultValue) |
Invokes sequential proxy calls to different locations.
|
java.lang.Object |
RouterRpcClient.invokeSingle(java.lang.String nsId,
RemoteMethod method) |
Invokes a ClientProtocol method against the specified namespace.
|
<T> T |
RouterRpcClient.invokeSingle(java.lang.String nsId,
RemoteMethod method,
java.lang.Class<T> clazz) |
Invokes a remote method against the specified namespace.
|
<T> T |
RouterRpcClient.invokeSingle(org.apache.hadoop.hdfs.protocol.ExtendedBlock extendedBlock,
RemoteMethod method,
java.lang.Class<T> clazz) |
Invokes a remote method against the specified extendedBlock.
|
<T> T |
RouterRpcClient.invokeSingle(org.apache.hadoop.hdfs.protocol.ExtendedBlock block,
RemoteMethod method,
java.util.List<RemoteLocation> locations,
java.lang.Class<T> clazz) |
Invokes a ClientProtocol method.
|
<T> T |
RouterRpcClient.invokeSingle(RemoteLocationContext location,
RemoteMethod remoteMethod,
java.lang.Class<T> clazz) |
Invokes a single proxy call for a single location.
|
java.lang.Object |
RouterRpcClient.invokeSingleBlockPool(java.lang.String bpId,
RemoteMethod method) |
Invokes a ClientProtocol method.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.