org.atmosphere.cache
public class HeaderBroadcasterCache extends AbstractBroadcasterCache
BroadcasterCache implementation based on the X-Cache-Date headers sent by the client.emptyList, inspectors, invalidateCacheInterval, isShared, maxCacheTime, messages, messagesIds, readWriteLock, reaper, scheduledFutureDEFAULT| Constructor and Description |
|---|
HeaderBroadcasterCache()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CacheMessage |
addToCache(String broadcasterId,
AtmosphereResource r,
BroadcastMessage e)
Deprecated.
Start tracking messages associated with
AtmosphereResource from the cache. |
List<Object> |
retrieveFromCache(String broadcasterId,
AtmosphereResource r)
Deprecated.
Retrieve messages associated with
AtmosphereResource. |
cleanup, clearCache, configure, excludeFromCache, get, inspect, inspector, put, setInvalidateCacheInterval, setMaxCacheTime, start, stoppublic CacheMessage addToCache(String broadcasterId, AtmosphereResource r, BroadcastMessage e)
BroadcasterCacheAtmosphereResource from the cache.broadcasterId - The associated Broadcaster#addAtmosphereResource(AtmosphereResource).getIDr - AtmosphereResourcee - BroadcastMessage.CacheMessagepublic List<Object> retrieveFromCache(String broadcasterId, AtmosphereResource r)
BroadcasterCacheAtmosphereResource.broadcasterId - The associated Broadcaster#addAtmosphereResource(AtmosphereResource).getIDr - AtmosphereResourceList of messages (String).Copyright © 2014. All Rights Reserved.