org.granite.gravity
Class GravityConfig
java.lang.Object
org.granite.gravity.GravityConfig
- All Implemented Interfaces:
- GraniteConfigReloadListener
public class GravityConfig
- extends Object
- implements GraniteConfigReloadListener
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_GRAVITY_FACTORY
public static final String DEFAULT_GRAVITY_FACTORY
DEFAULT_CHANNEL_IDLE_TIMEOUT_MILLIS
public static final long DEFAULT_CHANNEL_IDLE_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
DEFAULT_LONG_POLLING_TIMEOUT_MILLIS
public static final long DEFAULT_LONG_POLLING_TIMEOUT_MILLIS
- See Also:
- Constant Field Values
DEFAULT_RETRY_ON_ERROR
public static final boolean DEFAULT_RETRY_ON_ERROR
- See Also:
- Constant Field Values
DEFAULT_MAX_MESSAGES_QUEUED_PER_CHANNEL
public static final int DEFAULT_MAX_MESSAGES_QUEUED_PER_CHANNEL
- See Also:
- Constant Field Values
DEFAULT_RECONNECT_INTERVAL_MILLIS
public static final long DEFAULT_RECONNECT_INTERVAL_MILLIS
- See Also:
- Constant Field Values
DEFAULT_RECONNECT_MAX_ATTEMPTS
public static final int DEFAULT_RECONNECT_MAX_ATTEMPTS
- See Also:
- Constant Field Values
DEFAULT_CORE_POOL_SIZE
public static final int DEFAULT_CORE_POOL_SIZE
- See Also:
- Constant Field Values
DEFAULT_MAXIMUM_POOL_SIZE
public static final int DEFAULT_MAXIMUM_POOL_SIZE
- See Also:
- Constant Field Values
DEFAULT_KEEP_ALIVE_TIME_MILLIS
public static final long DEFAULT_KEEP_ALIVE_TIME_MILLIS
- See Also:
- Constant Field Values
DEFAULT_QUEUE_CAPACITY
public static final int DEFAULT_QUEUE_CAPACITY
- See Also:
- Constant Field Values
GravityConfig
public GravityConfig(GraniteConfig graniteConfig,
ChannelFactory channelFactory)
onReload
public void onReload(ServletContext context,
GraniteConfig config)
- Specified by:
onReload in interface GraniteConfigReloadListener
getGravityFactory
public String getGravityFactory()
getChannelIdleTimeoutMillis
public long getChannelIdleTimeoutMillis()
setChannelIdleTimeoutMillis
public void setChannelIdleTimeoutMillis(long channelIdleTimeoutMillis)
getLongPollingTimeoutMillis
public long getLongPollingTimeoutMillis()
setLongPollingTimeoutMillis
public void setLongPollingTimeoutMillis(long longPollingTimeoutMillis)
isRetryOnError
public boolean isRetryOnError()
setRetryOnError
public void setRetryOnError(boolean retryOnError)
getMaxMessagesQueuedPerChannel
public int getMaxMessagesQueuedPerChannel()
setMaxMessagesQueuedPerChannel
public void setMaxMessagesQueuedPerChannel(int maxMessagesQueuedPerChannel)
getReconnectIntervalMillis
public long getReconnectIntervalMillis()
setReconnectIntervalMillis
public void setReconnectIntervalMillis(long reconnectIntervalMillis)
getReconnectMaxAttempts
public int getReconnectMaxAttempts()
setReconnectMaxAttempts
public void setReconnectMaxAttempts(int reconnectMaxAttempts)
getExtra
public XMap getExtra()
getCorePoolSize
public int getCorePoolSize()
setCorePoolSize
public void setCorePoolSize(int corePoolSize)
getMaximumPoolSize
public int getMaximumPoolSize()
setMaximumPoolSize
public void setMaximumPoolSize(int maximumPoolSize)
getKeepAliveTimeMillis
public long getKeepAliveTimeMillis()
setKeepAliveTimeMillis
public void setKeepAliveTimeMillis(long keepAliveTimeMillis)
getQueueCapacity
public int getQueueCapacity()
setQueueCapacity
public void setQueueCapacity(int queueCapacity)
getChannelFactory
public ChannelFactory getChannelFactory()