Package | Description |
---|---|
org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
Modifier and Type | Method and Description |
---|---|
RPC.Builder |
RPC.Builder.setBindAddress(String bindAddress)
Default: 0.0.0.0
|
RPC.Builder |
RPC.Builder.setInstance(Object instance)
Mandatory field
|
RPC.Builder |
RPC.Builder.setNumHandlers(int numHandlers)
Default: 1
|
RPC.Builder |
RPC.Builder.setnumReaders(int numReaders)
Default: -1
|
RPC.Builder |
RPC.Builder.setPort(int port)
Default: 0
|
RPC.Builder |
RPC.Builder.setPortRangeConfig(String portRangeConfig)
Default: null
|
RPC.Builder |
RPC.Builder.setProtocol(Class<?> protocol)
Mandatory field
|
RPC.Builder |
RPC.Builder.setQueueSizePerHandler(int queueSizePerHandler)
Default: -1
|
RPC.Builder |
RPC.Builder.setSecretManager(SecretManager<? extends TokenIdentifier> secretManager)
Default: null
|
RPC.Builder |
RPC.Builder.setVerbose(boolean verbose)
Default: false
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.