当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
CachedListInterceptor (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
org.jboss.cache.aop
Class CachedListInterceptor
java.lang.Object
   org.jboss.cache.aop.CachedListInterceptor
org.jboss.cache.aop.CachedListInterceptor
- All Implemented Interfaces: 
- CachedCollectionInterceptor, Collection, org.jboss.aop.advice.Interceptor, List
- public class CachedListInterceptor- extends Object- implements List, CachedCollectionInterceptor
List interceptor to perform list 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
CachedListInterceptor
public CachedListInterceptor(TreeCacheAop cache,
                             Fqn fqn,
                             Class clazz)
getName
public String getName()
- 
- Specified by:
- getNamein interface- org.jboss.aop.advice.Interceptor
 
- 
 
invoke
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
- 
- Specified by:
- invokein interface- org.jboss.aop.advice.Interceptor
 
- 
- Throws:
- Throwable
 
getNode
protected Node getNode()
- 
 
- 
 
get
public Object get(int index)
- 
- Specified by:
- getin interface- List
 
- 
 
size
public int size()
- 
- Specified by:
- sizein interface- List
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- List
 
- 
 
isEmpty
public boolean isEmpty()
- 
- Specified by:
- isEmptyin interface- List
 
- 
 
toArray
public Object[] toArray()
- 
- Specified by:
- toArrayin interface- List
 
- 
 
set
public Object set(int index,
                  Object element)
- 
- Specified by:
- setin interface- List
 
- 
 
toArray
public Object[] toArray(Object[] a)
- 
- Specified by:
- toArrayin interface- List
 
- 
 
add
public void add(int index,
                Object element)
- 
- Specified by:
- addin interface- List
 
- 
 
indexOf
public int indexOf(Object o)
- 
- Specified by:
- indexOfin interface- List
 
- 
 
lastIndexOf
public int lastIndexOf(Object o)
- 
- Specified by:
- lastIndexOfin interface- List
 
- 
 
add
public boolean add(Object o)
- 
- Specified by:
- addin interface- List
 
- 
 
contains
public boolean contains(Object o)
- 
- Specified by:
- containsin interface- List
 
- 
 
remove
public Object remove(int index)
- 
- Specified by:
- removein interface- List
 
- 
 
remove
public boolean remove(Object o)
- 
- Specified by:
- removein interface- List
 
- 
 
addAll
public boolean addAll(int index,
                      Collection c)
- 
- Specified by:
- addAllin interface- List
 
- 
 
addAll
public boolean addAll(Collection c)
- 
- Specified by:
- addAllin interface- List
 
- 
 
containsAll
public boolean containsAll(Collection c)
- 
- Specified by:
- containsAllin interface- List
 
- 
 
removeAll
public boolean removeAll(Collection c)
- 
- Specified by:
- removeAllin interface- List
 
- 
 
hashCode
public int hashCode()
- 
- Specified by:
- hashCodein interface- List
 
- 
 
equals
public boolean equals(Object object)
- 
- Specified by:
- equalsin interface- List
 
- 
 
toString
public String toString()
- 
 
- 
 
retainAll
public boolean retainAll(Collection c)
- 
- Specified by:
- retainAllin interface- List
 
- 
 
iterator
public Iterator iterator()
- 
- Specified by:
- iteratorin interface- List
 
- 
 
subList
public List subList(int fromIndex,
                    int toIndex)
- 
- Specified by:
- subListin interface- List
 
- 
 
listIterator
public ListIterator listIterator()
- 
- Specified by:
- listIteratorin interface- List
 
- 
 
listIterator
public ListIterator listIterator(int index)
- 
- Specified by:
- listIteratorin interface- List
 
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.