org.granite.gravity.gae
Class GAEGravity
java.lang.Object
org.granite.gravity.DefaultGravity
org.granite.gravity.gae.GAEGravity
- All Implemented Interfaces:
- ShutdownListener, DefaultGravityMBean, Gravity
public class GAEGravity
- extends DefaultGravity
- Author:
- William DRAI, Franck WOLFF
| Methods inherited from class org.granite.gravity.DefaultGravity |
cancel, execute, getChannelIdleTimeoutMillis, getCorePoolSize, getGraniteConfig, getGravityConfig, getGravityFactoryName, getKeepAliveTimeMillis, getLongPollingTimeoutMillis, getMaximumPoolSize, getMaxMessagesQueuedPerChannel, getQueueCapacity, getQueueRemainingCapacity, getQueueSize, getReconnectIntervalMillis, getReconnectMaxAttempts, getServiceAdapter, getServicesConfig, getSharedContext, getUdpReceiverFactory, handleMessage, handleMessage, hasUdpReceiverFactory, initThread, isRetryOnError, isStarted, publishMessage, publishMessage, reconfigure, releaseThread, restart, setChannelIdleTimeoutMillis, setCorePoolSize, setKeepAliveTimeMillis, setLongPollingTimeoutMillis, setMaximumPoolSize, setMaxMessagesQueuedPerChannel, setRetryOnError, start, stop, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GAEGravity
public GAEGravity(GravityConfig gravityConfig,
ServicesConfig servicesConfig,
GraniteConfig graniteConfig,
SharedContext sharedContext)
createChannel
protected <C extends Channel> C createChannel(ChannelFactory<C> channelFactory,
String channelId)
- Overrides:
createChannel in class DefaultGravity
getChannel
public <C extends Channel> C getChannel(ChannelFactory<C> channelFactory,
String channelId)
- Specified by:
getChannel in interface Gravity- Overrides:
getChannel in class DefaultGravity
removeChannel
public Channel removeChannel(String channelId,
boolean timeout)
- Specified by:
removeChannel in interface Gravity- Overrides:
removeChannel in class DefaultGravity
access
public boolean access(String channelId)
- Specified by:
access in interface Gravity- Overrides:
access in class DefaultGravity
internalStart
public void internalStart()
- Overrides:
internalStart in class DefaultGravity
postManage
protected void postManage(Channel channel)
- Overrides:
postManage in class DefaultGravity