com.atlassian.confluence.cache.tangosol
Class TangosolCache

java.lang.Object
  extended by com.atlassian.confluence.cache.tangosol.TangosolCache
All Implemented Interfaces:
com.atlassian.cache.Cache

public class TangosolCache
extends java.lang.Object
implements com.atlassian.cache.Cache

A decorator class to call the correct methods in Tangosol's cache object.


Constructor Summary
TangosolCache(com.tangosol.net.NamedCache cache)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object get(java.lang.Object key)
           
 java.util.Collection getKeys()
           
 java.lang.String getName()
           
 int getStatus()
          Deprecated.  
 int hashCode()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 void remove(java.lang.Object key)
           
 void removeAll()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TangosolCache

public TangosolCache(com.tangosol.net.NamedCache cache)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface com.atlassian.cache.Cache

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface com.atlassian.cache.Cache

getKeys

public java.util.Collection getKeys()
Specified by:
getKeys in interface com.atlassian.cache.Cache

put

public void put(java.lang.Object key,
                java.lang.Object value)
Specified by:
put in interface com.atlassian.cache.Cache

remove

public void remove(java.lang.Object key)
Specified by:
remove in interface com.atlassian.cache.Cache

removeAll

public void removeAll()
Specified by:
removeAll in interface com.atlassian.cache.Cache

getStatus

public int getStatus()
Deprecated. 

(Suppress compiler error)


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.