public class GAEGravity extends DefaultGravity
BYTEARRAY_BODY_HEADER, RECONNECT_INTERVAL_MS_KEY, RECONNECT_MAX_ATTEMPTS_KEY| Constructor and Description |
|---|
GAEGravity(GravityConfig gravityConfig,
ServicesConfig servicesConfig,
GraniteConfig graniteConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
access(String channelId) |
protected <C extends Channel> |
createChannel(ChannelFactory<C> channelFactory,
String channelId) |
<C extends Channel> |
getChannel(ChannelFactory<C> channelFactory,
String channelId) |
void |
internalStart() |
protected void |
postManage(Channel channel) |
Channel |
removeChannel(String channelId) |
cancel, execute, getChannelIdleTimeoutMillis, getCorePoolSize, getGraniteConfig, getGravityConfig, getGravityFactoryName, getKeepAliveTimeMillis, getLongPollingTimeoutMillis, getMaximumPoolSize, getMaxMessagesQueuedPerChannel, getQueueCapacity, getQueueRemainingCapacity, getQueueSize, getReconnectIntervalMillis, getReconnectMaxAttempts, getServiceAdapter, getServicesConfig, handleMessage, handleMessage, initThread, isRetryOnError, isStarted, publishMessage, publishMessage, reconfigure, releaseThread, restart, setChannelIdleTimeoutMillis, setCorePoolSize, setKeepAliveTimeMillis, setLongPollingTimeoutMillis, setMaximumPoolSize, setMaxMessagesQueuedPerChannel, setRetryOnError, start, stop, stoppublic GAEGravity(GravityConfig gravityConfig, ServicesConfig servicesConfig, GraniteConfig graniteConfig)
protected <C extends Channel> C createChannel(ChannelFactory<C> channelFactory, String channelId)
createChannel in class DefaultGravitypublic <C extends Channel> C getChannel(ChannelFactory<C> channelFactory, String channelId)
getChannel in interface GravitygetChannel in class DefaultGravitypublic Channel removeChannel(String channelId)
removeChannel in interface GravityremoveChannel in class DefaultGravitypublic boolean access(String channelId)
access in interface Gravityaccess in class DefaultGravitypublic void internalStart()
internalStart in class DefaultGravityprotected void postManage(Channel channel)
postManage in class DefaultGravity