| Package | Description |
|---|---|
| org.apache.flume.api |
| Modifier and Type | Method and Description |
|---|---|
void |
ThriftRpcClient.close() |
void |
RpcClient.close()
Immediately closes the client so that it may no longer be used.
|
void |
NettyAvroRpcClient.close() |
void |
LoadBalancingRpcClient.close() |
void |
FailoverRpcClient.close()
Close the connection.
|
abstract void |
AbstractRpcClient.close() |
protected void |
ThriftRpcClient.configure(Properties properties) |
void |
NettyAvroRpcClient.configure(Properties properties)
Configure the actual client using the properties.
|
protected void |
LoadBalancingRpcClient.configure(Properties properties) |
void |
FailoverRpcClient.configure(Properties properties) |
protected abstract void |
AbstractRpcClient.configure(Properties properties)
Configure the client using the given properties object.
|
static RpcClient |
RpcClientFactory.getDefaultInstance(String hostname,
Integer port)
|
static RpcClient |
RpcClientFactory.getDefaultInstance(String hostname,
Integer port,
Integer batchSize)
Returns an instance of
RpcClient connected to the specified
hostname and port with the specified batchSize. |
static RpcClient |
RpcClientFactory.getInstance(Properties properties)
Returns an instance of
RpcClient, optionally with failover. |
static RpcClient |
RpcClientFactory.getInstance(String hostname,
Integer port)
Deprecated.
|
static RpcClient |
RpcClientFactory.getInstance(String hostname,
Integer port,
Integer batchSize)
Deprecated.
|
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.