| Package | Description |
|---|---|
| org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
| Modifier and Type | Method | Description |
|---|---|---|
Client |
ClientCache.getClient(Configuration conf) |
Construct & cache an IPC client with the default SocketFactory
and default valueClass if no cached client exists.
|
Client |
ClientCache.getClient(Configuration conf,
javax.net.SocketFactory factory) |
Construct & cache an IPC client with the user-provided SocketFactory
if no cached client exists.
|
Client |
ClientCache.getClient(Configuration conf,
javax.net.SocketFactory factory,
java.lang.Class<? extends Writable> valueClass) |
Construct & cache an IPC client with the user-provided SocketFactory
if no cached client exists.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ClientCache.stopClient(Client client) |
Stop a RPC client connection
A RPC client is closed only when its reference count becomes zero.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.