当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
CachedMapInterceptor (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
org.jboss.cache.aop
Class CachedMapInterceptor
java.lang.Object
org.jboss.cache.aop.CachedMapInterceptor
- All Implemented Interfaces:
- CachedCollectionInterceptor, org.jboss.aop.advice.Interceptor, Map
- public class CachedMapInterceptor
- extends Object
- implements CachedCollectionInterceptor, Map
Map interceptor to perform Map cache storage and retrieval
- Author:
- Harald Gliebe, Ben Wang
log
protected static final org.jboss.logging.Logger log
managedMethods
protected static final Map managedMethods
cache
protected TreeCacheAop cache
fqn
protected Fqn fqn
methodMap
protected Map methodMap
CachedMapInterceptor
protected CachedMapInterceptor(TreeCacheAop cache,
Fqn fqn,
Class clazz)
getName
public String getName()
- Specified by:
getName
in interface org.jboss.aop.advice.Interceptor
invoke
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Specified by:
invoke
in interface org.jboss.aop.advice.Interceptor
- Throws:
Throwable
getNode
protected Node getNode()
get
public Object get(Object key)
- Specified by:
get
in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
putAll
public void putAll(Map map)
- Specified by:
putAll
in interface Map
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
clear
public void clear()
- Specified by:
clear
in interface Map
size
public int size()
- Specified by:
size
in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
containsKey
public boolean containsKey(Object object)
- Specified by:
containsKey
in interface Map
containsValue
public boolean containsValue(Object object)
- Specified by:
containsValue
in interface Map
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
values
public Collection values()
- Specified by:
values
in interface Map
keySet
public Set keySet()
- Specified by:
keySet
in interface Map
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map
equals
public boolean equals(Object object)
- Specified by:
equals
in interface Map
toString
public String toString()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.