org.jboss.cache.aop
Class CachedSetInterceptor

java.lang.Object
  extended byorg.jboss.cache.aop.CachedSetInterceptor
All Implemented Interfaces:
CachedCollectionInterceptor (src) , java.util.Collection, java.util.Set

public class CachedSetInterceptor
extends java.lang.Object
implements java.util.Set, CachedCollectionInterceptor (src)

Set interceptor to perform Set cache storage and retrieval


Field Summary
protected  TreeCacheAop (src) cache
           
protected  Fqn (src) fqn
           
protected static Logger (src) log
           
protected static java.util.Map managedMethods
           
protected  java.util.Map methodMap
           
 
Constructor Summary
CachedSetInterceptor(TreeCacheAop (src)  cache, Fqn (src)  fqn, java.lang.Class clazz)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection c)
           
 boolean equals(java.lang.Object object)
           
 java.lang.String getName()
           
protected  Node (src) getNode()
           
 int hashCode()
           
 java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection c)
           
 boolean retainAll(java.util.Collection c)
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] a)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static final Logger (src)  log

cache

protected TreeCacheAop (src)  cache

fqn

protected Fqn (src)  fqn

methodMap

protected java.util.Map methodMap

managedMethods

protected static java.util.Map managedMethods
Constructor Detail

CachedSetInterceptor

public CachedSetInterceptor(TreeCacheAop (src)  cache,
                            Fqn (src)  fqn,
                            java.lang.Class clazz)
Method Detail

getName

public java.lang.String getName()

invoke

public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

getNode

protected Node (src)  getNode()

size

public int size()
Specified by:
size in interface java.util.Set

clear

public void clear()
Specified by:
clear in interface java.util.Set

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Set

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Set

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.Set

toArray

public java.lang.Object[] toArray(java.lang.Object[] a)
Specified by:
toArray in interface java.util.Set

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.Set

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Set

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Set

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.Set

containsAll

public boolean containsAll(java.util.Collection c)
Specified by:
containsAll in interface java.util.Set

removeAll

public boolean removeAll(java.util.Collection c)
Specified by:
removeAll in interface java.util.Set

retainAll

public boolean retainAll(java.util.Collection c)
Specified by:
retainAll in interface java.util.Set

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Set

equals

public boolean equals(java.lang.Object object)
Specified by:
equals in interface java.util.Set

toString

public java.lang.String toString()