Class NoCache

java.lang.Object
org.castor.cache.AbstractBaseCache
org.castor.cache.simple.NoCache
All Implemented Interfaces:
Map<Object,Object>, Cache

public final class NoCache extends AbstractBaseCache
NoCache is a Map which dispose all object right the way. Every object being put in the Map will be disposed.
Since:
1.0
Version:
$Revision: 8102 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Werner Guttmann, Ralf Joachim
  • Field Details

  • Constructor Details

    • NoCache

      public NoCache()
  • Method Details

    • getType

      public String getType()
      Indicates the type of this cache.
      Returns:
      The cache type.
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • containsKey

      public boolean containsKey(Object key)
    • containsValue

      public boolean containsValue(Object value)
    • get

      public Object get(Object key)
    • put

      public Object put(Object key, Object value)
    • remove

      public Object remove(Object key)
    • putAll

      public void putAll(Map<? extends Object,? extends Object> map)
    • clear

      public void clear()
    • keySet

      public Set<Object> keySet()
    • values

      public Collection<Object> values()
    • entrySet

      public Set<Map.Entry<Object,Object>> entrySet()