org.apache.commons.ognl.internal
Interface Cache<K,V>

All Known Subinterfaces:
ClassCache<V>
All Known Implementing Classes:
ClassCacheImpl, ConcurrentHashMapCache, ConcurrentHashMapClassCache, HashMapCache, HashMapClassCache, ReentrantReadWriteLockCache, ReentrantReadWriteLockClassCache

public interface Cache<K,V>

$Id: Cache.java 1194943 2011-10-29 17:35:30Z mcucchiara $


Method Summary
 void clear()
           
 V get(K key)
           
 int getSize()
           
 V put(K key, V value)
           
 

Method Detail

clear

void clear()

getSize

int getSize()

get

V get(K key)
      throws CacheException
Throws:
CacheException

put

V put(K key,
      V value)


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.