com.google.sitebricks.binding
Class GaeFlashCache

java.lang.Object
  extended by com.google.sitebricks.binding.GaeFlashCache
All Implemented Interfaces:
FlashCache

@ThreadSafe
public final class GaeFlashCache
extends Object
implements FlashCache

Used to store binding (or forwarding) information between successive requests. This cache is an alternative to the default HttpSessionFlashCache in that it explicitly sets each attribute on the session (which is required by GAE for appstore and memcache replication).

Author:
Dhanji R. Prasanna (dhanji@gmail.com)

Method Summary
<T> T
get(String key)
           
<T> void
put(String key, T t)
           
<T> T
remove(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public <T> T get(String key)
Specified by:
get in interface FlashCache

remove

public <T> T remove(String key)
Specified by:
remove in interface FlashCache

put

public <T> void put(String key,
                    T t)
Specified by:
put in interface FlashCache


Copyright © 2014. All rights reserved.