Package | Description |
---|---|
org.atmosphere.annotation | |
org.atmosphere.cache | |
org.atmosphere.cpr |
Modifier and Type | Method and Description |
---|---|
void |
BroadcasterCacheServiceProcessor.handle(AtmosphereFramework framework,
Class<BroadcasterCache> annotatedClass) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBroadcasterCache
Abstract
BroadcasterCache which is used to implement headers, query parameters or
session based caching. |
class |
DefaultBroadcasterCache |
class |
SessionBroadcasterCache
Simple
BroadcasterCache that use an HttpSession to cache
messages. |
class |
UUIDBroadcasterCache
An improved
BroadcasterCache implementation that is based on the unique identifier (UUID) that all
AtmosphereResource s have. |
Modifier and Type | Field and Description |
---|---|
static BroadcasterCache |
BroadcasterCache.DEFAULT |
Modifier and Type | Method and Description |
---|---|
BroadcasterCache |
BroadcasterCache.addBroadcasterCacheListener(BroadcasterCacheListener l)
Add a
BroadcasterCacheListener |
BroadcasterCache |
BroadcasterCache.cacheCandidate(String broadcasterId,
String uuid)
Add a
AtmosphereResource.uuid() to the list of active AtmosphereResource
Message will be cached for the resource associated with the uuid. |
BroadcasterCache |
BroadcasterCache.clearCache(String broadcasterId,
String uuid,
CacheMessage cache)
Remove the previously cached message.
|
BroadcasterCache |
BroadcasterCache.excludeFromCache(String broadcasterId,
AtmosphereResource r)
Allow an application to exclude, or block, an
AtmosphereResource to received cached message. |
BroadcasterCache |
BroadcasterConfig.getBroadcasterCache()
Get the
BroadcasterCache used for this Broadcaster . |
BroadcasterCache |
BroadcasterCache.inspector(BroadcasterCacheInspector interceptor)
Add a
BroadcasterCacheInspector that will be invoked before a message gets added to the cache. |
BroadcasterCache |
BroadcasterCache.removeBroadcasterCacheListener(BroadcasterCacheListener l)
Remove a
BroadcasterCacheListener |
Modifier and Type | Method and Description |
---|---|
BroadcasterConfig |
BroadcasterConfig.setBroadcasterCache(BroadcasterCache broadcasterCache)
Set a
BroadcasterCache . |
Copyright © 2016. All rights reserved.