com.bea.cache.jcache
Interface CacheStore


public interface CacheStore


Method Summary
 void store(java.lang.Object key, java.lang.Object value)
          Stores the value in the backing store given the key.
 void storeAll(java.util.Map map)
          For each key in the map, stores the corresponding value in the backing.
 

Method Detail

store

public void store(java.lang.Object key,
                  java.lang.Object value)
Stores the value in the backing store given the key. This method is called by the caching service when one key & it's associated value needs to be backed in the store

Parameters:
key - The key to be stored
value - The value corresponding value to be stored
Throws:
CacheException - on error

storeAll

public void storeAll(java.util.Map map)
For each key in the map, stores the corresponding value in the backing. This method is invoked by the caching service when more than one key needs to be backed up in the store store

Parameters:
map - The map containing the key value pairs to be stored
Throws:
CacheException - on error


Copyright © 2007 BEA Systems All Rights Reserved.