public class NIOConfiguration extends Object implements ITransportConfig, Cloneable, SmartExternalizable
GenericExporter
,
Serialized FormModifier 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, wait
enabledSmartExternalizableWithReference
public 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 Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public static NIOConfiguration create()
public ITransportConfig clone()
clone
in interface ITransportConfig
clone
in class Object
public String getProtocolAdaptorClass()
getProtocolAdaptorClass
in interface ITransportConfig
public int getMinThreads()
getMinThreads
in interface ITransportConfig
public void setMinThreads(int minThreads)
public int getMaxThreads()
getMaxThreads
in interface ITransportConfig
public void setMaxThreads(int maxThreads)
public int getThreadsQueueSize()
getThreadsQueueSize
in interface ITransportConfig
public void setThreadsQueueSize(int threadsQueueSize)
public int getConnectionPoolSize()
getConnectionPoolSize
in interface ITransportConfig
public 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 ITransportConfig
public boolean isBlockingConnection()
isBlockingConnection
in interface ITransportConfig
public int getSlowConsumerLatency()
getSlowConsumerLatency
in interface ITransportConfig
public void setSlowConsumerLatency(int slowConsumerLatency)
public int getSlowConsumerRetries()
getSlowConsumerRetries
in interface ITransportConfig
public void setSlowConsumerRetries(int slowConsumerRetries)
public int getSlowConsumerReadTimeout()
public void setSlowConsumerReadTimeout(int slowConsumerReadTimeout)
public int getSlowConsumerThroughput()
getSlowConsumerThroughput
in interface ITransportConfig
public void setSlowConsumerThroughput(int slowConsumerThroughput)
public int getReadSelectorThreads()
getReadSelectorThreads
in interface ITransportConfig
public int getSystemPriorityQueueCapacity()
getSystemPriorityQueueCapacity
in interface ITransportConfig
public long getSystemPriorityThreadIdleTimeout()
getSystemPriorityThreadIdleTimeout
in interface ITransportConfig
public int getSystemPriorityMinThreads()
public int getSystemPriorityMaxThreads()
public int getCustomQueueCapacity()
public long getCustomThreadIdleTimeout()
public int getCustomMinThreads()
public int getCustomMaxThreads()
public long getWatchdogRequestTimeout()
getWatchdogRequestTimeout
in interface ITransportConfig
public long getWatchdogListeningTimeout()
getWatchdogListeningTimeout
in interface ITransportConfig
public long getWatchdogIdleConnectionTimeout()
getWatchdogIdleConnectionTimeout
in interface ITransportConfig
public long getThreadPoolIdleTimeout()
getThreadPoolIdleTimeout
in interface ITransportConfig
public long getSocketConnectTimeout()
getSocketConnectTimeout
in interface ITransportConfig
public boolean isProtocolValidationEnabled()
Copyright © GigaSpaces.