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