public class NIOConfiguration extends Object implements ITransportConfig, Cloneable, SmartExternalizable
GenericExporter,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
BIND_PORT_ENV_VAR |
static String |
BIND_PORT_SYS_PROP |
static String |
PROTOCOL_NAME |
| Constructor and Description |
|---|
NIOConfiguration()
Should not be used, only for externalizable.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencepublic static final String PROTOCOL_NAME
public static final String BIND_PORT_SYS_PROP
public static final String BIND_PORT_ENV_VAR
public NIOConfiguration()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic static NIOConfiguration create()
public ITransportConfig clone()
clone in interface ITransportConfigclone in class Objectpublic String getProtocolAdaptorClass()
getProtocolAdaptorClass in interface ITransportConfigpublic int getMinThreads()
getMinThreads in interface ITransportConfigpublic void setMinThreads(int minThreads)
public int getMaxThreads()
getMaxThreads in interface ITransportConfigpublic void setMaxThreads(int maxThreads)
public int getThreadsQueueSize()
getThreadsQueueSize in interface ITransportConfigpublic void setThreadsQueueSize(int threadsQueueSize)
public int getConnectionPoolSize()
getConnectionPoolSize in interface ITransportConfigpublic void setMaxConnPool(int maxConnPool)
public void setBindHost(String bindHostName)
public void setBindPort(String bindPort)
public void setBlockingConnection(boolean blockingConnection)
public int getMaxConnPool()
public String getBindPort()
public String getBindHostName()
public final String getProtocolName()
getProtocolName in interface ITransportConfigpublic boolean isBlockingConnection()
isBlockingConnection in interface ITransportConfigpublic int getSlowConsumerLatency()
getSlowConsumerLatency in interface ITransportConfigpublic void setSlowConsumerLatency(int slowConsumerLatency)
public int getSlowConsumerRetries()
getSlowConsumerRetries in interface ITransportConfigpublic void setSlowConsumerRetries(int slowConsumerRetries)
public int getSlowConsumerReadTimeout()
public void setSlowConsumerReadTimeout(int slowConsumerReadTimeout)
public int getSlowConsumerThroughput()
getSlowConsumerThroughput in interface ITransportConfigpublic void setSlowConsumerThroughput(int slowConsumerThroughput)
public int getReadSelectorThreads()
getReadSelectorThreads in interface ITransportConfigpublic int getSystemPriorityQueueCapacity()
getSystemPriorityQueueCapacity in interface ITransportConfigpublic long getSystemPriorityThreadIdleTimeout()
getSystemPriorityThreadIdleTimeout in interface ITransportConfigpublic int getSystemPriorityMinThreads()
public int getSystemPriorityMaxThreads()
public int getCustomQueueCapacity()
public long getCustomThreadIdleTimeout()
public int getCustomMinThreads()
public int getCustomMaxThreads()
public long getWatchdogRequestTimeout()
getWatchdogRequestTimeout in interface ITransportConfigpublic long getWatchdogListeningTimeout()
getWatchdogListeningTimeout in interface ITransportConfigpublic long getWatchdogIdleConnectionTimeout()
getWatchdogIdleConnectionTimeout in interface ITransportConfigpublic long getThreadPoolIdleTimeout()
getThreadPoolIdleTimeout in interface ITransportConfigpublic long getSocketConnectTimeout()
getSocketConnectTimeout in interface ITransportConfigpublic boolean isProtocolValidationEnabled()
Copyright © GigaSpaces.