@Deprecated public static class WritableRpcEngine.Server extends RPC.Server
Server.AuthProtocol, Server.Call, Server.ConnectionAUDITLOG, LOG, rpcDetailedMetrics, rpcMetrics| Constructor | Description |
|---|---|
Server(java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port) |
Deprecated.
Construct an RPC server.
|
Server(java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig) |
Deprecated.
use Server#Server(Class, Object,
Configuration, String, int, int, int, int, boolean, SecretManager)
|
Server(java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig,
AlignmentContext alignmentContext) |
Deprecated.
Construct an RPC server.
|
Server(java.lang.Object instance,
Configuration conf,
java.lang.String bindAddress,
int port) |
Deprecated.
Use #Server(Class, Object, Configuration, String, int)
|
Server(java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager) |
Deprecated.
use Server#Server(Class, Object,
Configuration, String, int, int, int, int, boolean, SecretManager)
|
addProtocol, calladdAuxiliaryListener, addSuppressedLoggingExceptions, addTerseExceptions, bind, bind, call, get, getAuxiliaryListenerAddresses, getAuxiliaryPortEstablishedQOP, getCallId, getCallQueueLen, getCallRetryCount, getClientId, getCurCall, getListenerAddress, getLogSlowRPCThresholdTime, getMaxIdleTime, getMaxQueueSize, getNumDroppedConnections, getNumInProcessHandler, getNumOpenConnections, getNumOpenConnectionsPerUser, getNumReaders, getPort, getPriorityLevel, getProtocol, getPurgeIntervalNanos, getRemoteAddress, getRemoteIp, getRemotePort, getRemoteUser, getRpcDetailedMetrics, getRpcInvoker, getRpcMetrics, getRpcRequestWrapper, getServerName, getServerRpcInvoker, getServiceAuthorizationManager, getTotalRequests, getTotalRequestsPerSecond, isClientBackoffEnabled, isLogSlowRPC, isRpcInvocation, isServerFailOverEnabled, isServerFailOverEnabledByQueue, join, queueCall, refreshCallQueue, refreshServiceAcl, refreshServiceAclWithLoadedConfiguration, registerProtocolEngine, setAlignmentContext, setClientBackoffEnabled, setLogSlowRPC, setLogSlowRPCThresholdTime, setSocketSendBufSize, setTracer, start, stop@Deprecated
public Server(java.lang.Object instance,
Configuration conf,
java.lang.String bindAddress,
int port)
throws java.io.IOException
instance - the instance whose methods will be calledconf - the configuration to usebindAddress - the address to bind on to listen for connectionport - the port to listen for connections onjava.io.IOException - raised on errors performing I/O.public Server(java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port)
throws java.io.IOException
protocolClass - classprotocolImpl - the instance whose methods will be calledconf - the configuration to usebindAddress - the address to bind on to listen for connectionport - the port to listen for connections onjava.io.IOException - raised on errors performing I/O.@Deprecated
public Server(java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager)
throws java.io.IOException
protocolImpl - the instance whose methods will be calledconf - the configuration to usebindAddress - the address to bind on to listen for connectionport - the port to listen for connections onnumHandlers - the number of method handler threads to runverbose - whether each call should be loggednumReaders - input numberReaders.queueSizePerHandler - input queueSizePerHandler.secretManager - input secretManager.java.io.IOException - raised on errors performing I/O.@Deprecated
public Server(java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig)
throws java.io.IOException
protocolClass - - the protocol being registered
can be null for compatibility with old usage (see below for details)protocolImpl - the protocol impl that will be calledconf - the configuration to usebindAddress - the address to bind on to listen for connectionport - the port to listen for connections onnumHandlers - the number of method handler threads to runverbose - whether each call should be loggedsecretManager - input secretManager.queueSizePerHandler - input queueSizePerHandler.portRangeConfig - input portRangeConfig.numReaders - input numReaders.java.io.IOException - raised on errors performing I/O.public Server(java.lang.Class<?> protocolClass,
java.lang.Object protocolImpl,
Configuration conf,
java.lang.String bindAddress,
int port,
int numHandlers,
int numReaders,
int queueSizePerHandler,
boolean verbose,
SecretManager<? extends TokenIdentifier> secretManager,
java.lang.String portRangeConfig,
AlignmentContext alignmentContext)
throws java.io.IOException
protocolClass - - the protocol being registered
can be null for compatibility with old usage (see below for details)protocolImpl - the protocol impl that will be calledconf - the configuration to usebindAddress - the address to bind on to listen for connectionport - the port to listen for connections onnumHandlers - the number of method handler threads to runverbose - whether each call should be loggedalignmentContext - provides server state info on client responsesnumReaders - input numReaders.portRangeConfig - input portRangeConfig.queueSizePerHandler - input queueSizePerHandler.secretManager - input secretManager.java.io.IOException - raised on errors performing I/O.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.