public class HazelcastBroadcaster
extends org.atmosphere.util.AbstractBroadcasterProxy
Broadcaster implementation based on HazelcastASYNC_TOKEN, asyncWriteFuture, bc, broadcasterListeners, broadcastOnResume, CACHED, config, delayedBroadcast, destroyed, dispatchThread, initialized, lifeCycleListeners, messages, name, noOpsResource, notifierFuture, POLLING_DEFAULT, resources, scope, started, uniqueWriteQueue, uri, waitTime, writeQueues, writeTimeoutInSecond| Constructor and Description |
|---|
HazelcastBroadcaster() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected com.hazelcast.core.ITopic |
getTopic()
Get the Hazelcast topic
|
void |
incomingBroadcast() |
org.atmosphere.cpr.Broadcaster |
initialize(String id,
org.atmosphere.cpr.AtmosphereConfig config) |
org.atmosphere.cpr.Broadcaster |
initialize(String id,
URI uri,
org.atmosphere.cpr.AtmosphereConfig config) |
void |
outgoingBroadcast(Object message) |
void |
setID(String id) |
void |
setUp() |
broadcast, broadcast, broadcast, broadcastReceivedMessage, getBroadcastHandler, invokeOnStateChange, reconfigureaddAtmosphereResource, addBroadcasterLifeCyclePolicyListener, addBroadcasterListener, awaitAndBroadcast, broadcastOnResume, broadcastOnResume, cacheAndSuspend, cacheLostMessage, cacheLostMessage, cacheLostMessage, cacheLostMessage, checkCachedAndPush, createBroadcasterConfig, delayBroadcast, delayBroadcast, deliverPush, dispatchMessages, entryDone, executeAsyncWrite, executeBlockingWrite, filter, futureDone, getAsyncWriteHandler, getAtmosphereResources, getBroadcasterConfig, getID, getScope, isDestroyed, killReactiveThreads, notifyAndAdd, notifyBroadcastListener, notifyDestroyListener, notifyEmptyListener, notifyIdleListener, notifyOnAddAtmosphereResourceListener, notifyOnRemoveAtmosphereResourceListener, onException, onException, perRequestFilter, prepareInvokeOnStateChange, push, queueWriteIO, reactiveThreadsCount, releaseExternalResources, removeAtmosphereResource, removeAtmosphereResource, removeBroadcasterLifeCyclePolicyListener, removeBroadcasterListener, resumeAll, retrieveTrackedBroadcast, scheduleFixedBroadcast, scheduleFixedBroadcast, setBroadcasterConfig, setBroadcasterLifeCyclePolicy, setScope, setSuspendPolicy, spawnReactor, start, toStringpublic org.atmosphere.cpr.Broadcaster initialize(String id, org.atmosphere.cpr.AtmosphereConfig config)
initialize in class org.atmosphere.cpr.DefaultBroadcasterpublic org.atmosphere.cpr.Broadcaster initialize(String id, URI uri, org.atmosphere.cpr.AtmosphereConfig config)
initialize in interface org.atmosphere.cpr.Broadcasterinitialize in class org.atmosphere.util.AbstractBroadcasterProxypublic void setUp()
public void setID(String id)
setID in interface org.atmosphere.cpr.BroadcastersetID in class org.atmosphere.cpr.DefaultBroadcasterpublic void destroy()
destroy in interface org.atmosphere.cpr.Broadcasterdestroy in class org.atmosphere.cpr.DefaultBroadcasterpublic void incomingBroadcast()
incomingBroadcast in class org.atmosphere.util.AbstractBroadcasterProxypublic void outgoingBroadcast(Object message)
outgoingBroadcast in class org.atmosphere.util.AbstractBroadcasterProxyprotected com.hazelcast.core.ITopic getTopic()
Copyright © 2014. All Rights Reserved.