org.teiid.cache.jboss
Class ExpirationAwareCache<K,V>

java.lang.Object
  extended by org.teiid.cache.jboss.JBossCache<K,V>
      extended by org.teiid.cache.jboss.ExpirationAwareCache<K,V>
All Implemented Interfaces:
Cache<K,V>

public class ExpirationAwareCache<K,V>
extends JBossCache<K,V>


Field Summary
 
Fields inherited from class org.teiid.cache.jboss.JBossCache
cacheListener, cacheStore, config, rootFqn
 
Constructor Summary
ExpirationAwareCache(org.jboss.cache.Cache cacheStore, org.jboss.cache.Fqn fqn)
           
 
Method Summary
 java.util.Set<K> keys()
           
 V put(K key, V value)
           
 V put(K key, V value, java.lang.Long ttl)
           
 
Methods inherited from class org.teiid.cache.jboss.JBossCache
addListener, clear, get, getFqn, getName, getRootNode, remove, removeListener, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpirationAwareCache

public ExpirationAwareCache(org.jboss.cache.Cache cacheStore,
                            org.jboss.cache.Fqn fqn)
Method Detail

put

public V put(K key,
             V value)
Overrides:
put in class JBossCache<K,V>

put

public V put(K key,
             V value,
             java.lang.Long ttl)
Specified by:
put in interface Cache<K,V>
Overrides:
put in class JBossCache<K,V>

keys

public java.util.Set<K> keys()
Specified by:
keys in interface Cache<K,V>
Overrides:
keys in class JBossCache<K,V>


Copyright © 2011. All Rights Reserved.