org.fusesource.restygwt.client.cache
Class VolatileQueueableCacheStorage

java.lang.Object
  extended by org.fusesource.restygwt.client.cache.DefaultQueueableCacheStorage
      extended by org.fusesource.restygwt.client.cache.VolatileQueueableCacheStorage
All Implemented Interfaces:
CacheStorage<Response>, QueueableCacheStorage

public class VolatileQueueableCacheStorage
extends DefaultQueueableCacheStorage


Field Summary
 
Fields inherited from class org.fusesource.restygwt.client.cache.DefaultQueueableCacheStorage
cache
 
Fields inherited from interface org.fusesource.restygwt.client.cache.QueueableCacheStorage
RESTY_CACHE_HEADER
 
Constructor Summary
VolatileQueueableCacheStorage()
           
VolatileQueueableCacheStorage(int lifetimeMillis)
           
 
Method Summary
 void purge()
          purge the complete cache
protected  void putResult(CacheKey key, Response response, String scope)
           
 
Methods inherited from class org.fusesource.restygwt.client.cache.DefaultQueueableCacheStorage
addCallback, getResultOrReturnNull, getResultOrReturnNull, hasCallback, purge, putResult, putResult, remove, remove, removeCallbacks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolatileQueueableCacheStorage

public VolatileQueueableCacheStorage()

VolatileQueueableCacheStorage

public VolatileQueueableCacheStorage(int lifetimeMillis)
Method Detail

putResult

protected void putResult(CacheKey key,
                         Response response,
                         String scope)
Overrides:
putResult in class DefaultQueueableCacheStorage

purge

public void purge()
Description copied from interface: CacheStorage
purge the complete cache

Specified by:
purge in interface CacheStorage<Response>
Overrides:
purge in class DefaultQueueableCacheStorage


Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.