Package org.atmosphere.cpr
Interface MetaBroadcaster.MetaBroadcasterCache
- All Known Implementing Classes:
MetaBroadcaster.NoCache,MetaBroadcaster.ThirtySecondsCache
- Enclosing interface:
MetaBroadcaster
public static interface MetaBroadcaster.MetaBroadcasterCache
Cache message if no
Broadcaster maps the MetaBroadcaster.broadcastTo(String, Object)-
Method Summary
Modifier and TypeMethodDescriptionCache the Broadcaster ID and messageFlush the Cache.
-
Method Details
-
cache
Cache the Broadcaster ID and message- Parameters:
path- the value passed toMetaBroadcaster.broadcastTo(String, Object)message- the value passed toMetaBroadcaster.broadcastTo(String, Object)- Returns:
- this
-
flushCache
MetaBroadcaster.MetaBroadcasterCache flushCache()Flush the Cache.- Returns:
- this
-