public class HazelcastBroadcaster
extends org.atmosphere.util.AbstractBroadcasterProxy
Broadcaster implementation based on HazelcastasyncWriteFuture, bc, broadcasterListeners, broadcastOnResume, CACHED, candidateForPoolable, config, delayedBroadcast, destroyed, dispatchThread, initialized, lifeCycleListeners, messages, name, notifierFuture, POLLING_DEFAULT, resources, scope, sharedListeners, started, uniqueWriteQueue, uri, usingTokenIdForAttribute, waitTime, writeQueues, writeTimeoutInSecond| Constructor and Description |
|---|
HazelcastBroadcaster() |
| Modifier and Type | Method and Description |
|---|---|
org.atmosphere.cpr.Broadcaster |
addAtmosphereResource(org.atmosphere.cpr.AtmosphereResource resource) |
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) |
org.atmosphere.cpr.Broadcaster |
removeAtmosphereResource(org.atmosphere.cpr.AtmosphereResource resource) |
void |
setID(String id) |
void |
setUp() |
b, broadcast, broadcast, broadcast, broadcastReceivedMessage, getBroadcastHandler, invokeOnStateChange, reconfigureaddBroadcasterLifeCyclePolicyListener, addBroadcasterListener, awaitAndBroadcast, broadcasterListeners, broadcastOnResume, broadcastOnResume, cacheAndSuspend, cacheLostMessage, cacheLostMessage, cacheLostMessage, cacheMessageOnIOException, checkCachedAndPush, createBroadcasterConfig, currentLifecycleTask, currentLifecycleTask, delayBroadcast, delayBroadcast, deliverPush, dispatchMessages, endBroadcast, entryDone, executeAsyncWrite, executeBlockingWrite, filter, futureDone, getAsyncWriteHandler, getAtmosphereResources, getBroadcasterConfig, getBroadcasterLifeCyclePolicy, getID, getScope, isDestroyed, killReactiveThreads, lifecycleHandler, lifecycleHandler, lifeCycleListeners, lifeCyclePolicy, messages, notifyAndAdd, notifyBroadcastListener, notifyOnAddAtmosphereResourceListener, notifyOnMessage, notifyOnRemoveAtmosphereResourceListener, onException, onException, outOfOrderBroadcastSupported, perRequestFilter, policy, prepareInvokeOnStateChange, push, queueWriteIO, reactiveThreadsCount, recentActivity, releaseExternalResources, removeAtmosphereResource, removeBroadcasterLifeCyclePolicyListener, removeBroadcasterListener, rename, resumeAll, retrieveTrackedBroadcast, scheduleFixedBroadcast, scheduleFixedBroadcast, setBroadcasterConfig, setBroadcasterLifeCyclePolicy, setScope, setSuspendPolicy, spawnReactor, start, toString, writeQueuespublic 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 org.atmosphere.cpr.Broadcaster addAtmosphereResource(org.atmosphere.cpr.AtmosphereResource resource)
addAtmosphereResource in interface org.atmosphere.cpr.BroadcasteraddAtmosphereResource in class org.atmosphere.cpr.DefaultBroadcasterpublic org.atmosphere.cpr.Broadcaster removeAtmosphereResource(org.atmosphere.cpr.AtmosphereResource resource)
removeAtmosphereResource in interface org.atmosphere.cpr.BroadcasterremoveAtmosphereResource in class org.atmosphere.cpr.DefaultBroadcasterpublic 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 © 2015. All Rights Reserved.