org.xwiki.cache.jbosscache.internal
Class JBossCacheCache<T>
java.lang.Object
org.xwiki.cache.util.AbstractCache<T>
org.xwiki.cache.jbosscache.internal.JBossCacheCache<T>
- Type Parameters:
T - the class of the data stored in the cache.
- All Implemented Interfaces:
- Cache<T>
public class JBossCacheCache<T>
- extends AbstractCache<T>
Implements Cache based on JBossCache.
- Version:
- $Id$
|
Field Summary |
static org.jboss.cache.Fqn<java.lang.String> |
ROOT_FQN
The root FQN. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROOT_FQN
public static final org.jboss.cache.Fqn<java.lang.String> ROOT_FQN
- The root FQN.
JBossCacheCache
public JBossCacheCache()
initialize
public void initialize(JBossCacheCacheConfiguration jbosscacheConfiguration)
- Create and initialize the cache.
- Parameters:
jbosscacheConfiguration - the configuration to use to create the cache.
remove
public void remove(java.lang.String key)
-
- See Also:
Cache.remove(java.lang.String)
set
public void set(java.lang.String key,
T obj)
-
- See Also:
Cache.set(java.lang.String, java.lang.Object)
get
public T get(java.lang.String key)
-
- See Also:
Cache.get(java.lang.String)
removeAll
public void removeAll()
-
- See Also:
Cache.removeAll()
dispose
public void dispose()
-
- Specified by:
dispose in interface Cache<T>- Overrides:
dispose in class AbstractCache<T>
- See Also:
AbstractCache.dispose()
nodeEvicted
public void nodeEvicted(org.jboss.cache.notifications.event.NodeEvictedEvent event)
- Parameters:
event - the eviction event.
nodeRemoved
public void nodeRemoved(org.jboss.cache.notifications.event.NodeRemovedEvent event)
- Parameters:
event - the eviction event.
nodeModified
public void nodeModified(org.jboss.cache.notifications.event.NodeModifiedEvent event)
- Parameters:
event - the modification event.
Copyright © 2004-2011 XWiki. All Rights Reserved.