|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.flume.api.NettyAvroRpcClient.Builder
protected static class NettyAvroRpcClient.Builder
Builder class used to construct NettyAvroRpcClient objects.
Note: It is recommended for applications to construct
RpcClient instances using the RpcClientFactory class.
| Field Summary | |
|---|---|
protected static int |
DEFAULT_BATCH_SIZE
|
| Constructor Summary | |
|---|---|
NettyAvroRpcClient.Builder()
|
|
| Method Summary | |
|---|---|
NettyAvroRpcClient.Builder |
batchSize(Integer batchSize)
Maximum number of events that can be processed in a batch operation. |
NettyAvroRpcClient |
build()
Construct the object |
NettyAvroRpcClient.Builder |
hostname(String hostname)
Hostname to connect to (required) |
NettyAvroRpcClient.Builder |
port(Integer port)
Port to connect to (required) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int DEFAULT_BATCH_SIZE
| Constructor Detail |
|---|
public NettyAvroRpcClient.Builder()
| Method Detail |
|---|
public NettyAvroRpcClient.Builder hostname(String hostname)
hostname -
thispublic NettyAvroRpcClient.Builder port(Integer port)
port -
thispublic NettyAvroRpcClient.Builder batchSize(Integer batchSize)
batchSize -
this
public NettyAvroRpcClient build()
throws FlumeException
FlumeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||