org.atmosphere.cpr
Class MetaBroadcaster.ThirtySecondsCache
java.lang.Object
org.atmosphere.cpr.MetaBroadcaster.ThirtySecondsCache
- All Implemented Interfaces:
- Runnable, MetaBroadcaster.MetaBroadcasterCache
- Enclosing class:
- MetaBroadcaster
public static final class MetaBroadcaster.ThirtySecondsCache
- extends Object
- implements MetaBroadcaster.MetaBroadcasterCache, Runnable
Flush the cache every 30 seconds.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaBroadcaster.ThirtySecondsCache
public MetaBroadcaster.ThirtySecondsCache(MetaBroadcaster metaBroadcaster,
AtmosphereConfig config)
cache
public MetaBroadcaster.MetaBroadcasterCache cache(String path,
Object o)
- Description copied from interface:
MetaBroadcaster.MetaBroadcasterCache
- Cache the Broadcaster ID and message
- Specified by:
cache in interface MetaBroadcaster.MetaBroadcasterCache
- Parameters:
path - the value passed to MetaBroadcaster.broadcastTo(String, Object)o - the value passed to MetaBroadcaster.broadcastTo(String, Object)
- Returns:
- this
flushCache
public MetaBroadcaster.MetaBroadcasterCache flushCache()
- Description copied from interface:
MetaBroadcaster.MetaBroadcasterCache
- Flush the Cache.
- Specified by:
flushCache in interface MetaBroadcaster.MetaBroadcasterCache
- Returns:
- this
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2014. All Rights Reserved.