javax.cache
Interface Cache

All Superinterfaces:
java.util.Map

public interface Cache
extends java.util.Map

For more documentation on JCache see the JSR 107 project

Version:
$Rev: 397921 $ $Date: 2006-04-28 17:23:23 +0200 (Fri, 28 Apr 2006) $

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Method Summary
 void addListener(CacheListener listender)
           
 void evict()
           
 java.util.Map getAll(java.util.Collection keys)
           
 CacheEntry getCacheEntry(java.lang.Object key)
           
 CacheStatistics getCacheStatistics()
           
 void load(java.lang.Object obj)
           
 void loadAll(java.util.Collection keys)
           
 java.lang.Object peek(java.lang.Object key)
           
 void removeListener(CacheListener listener)
           
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

addListener

public void addListener(CacheListener listender)

evict

public void evict()

getAll

public java.util.Map getAll(java.util.Collection keys)
                     throws CacheException
Throws:
CacheException

getCacheEntry

public CacheEntry getCacheEntry(java.lang.Object key)

getCacheStatistics

public CacheStatistics getCacheStatistics()

load

public void load(java.lang.Object obj)
          throws CacheException
Throws:
CacheException

loadAll

public void loadAll(java.util.Collection keys)
             throws CacheException
Throws:
CacheException

peek

public java.lang.Object peek(java.lang.Object key)

removeListener

public void removeListener(CacheListener listener)


Copyright © 2003-2006 Apache Software Foundation. All Rights Reserved.