com.satline.util.cache
Interface CacheBackend<K,V>


public interface CacheBackend<K,V>

Author:
tomas

Method Summary
 V create(K key, java.util.Date d)
           
 CacheItem<K,V> get(K key)
           
 java.util.Iterator<CacheItem<K,V>> load()
           
 void put(K key, V value, java.util.Date d)
           
 void remove(K key)
           
 void unload(K key, java.util.Date d)
           
 

Method Detail

get

CacheItem<K,V> get(K key)
                   throws CacheException
Throws:
CacheException

put

void put(K key,
         V value,
         java.util.Date d)
         throws CacheException
Throws:
CacheException

create

V create(K key,
         java.util.Date d)
         throws CacheException
Throws:
CacheException

remove

void remove(K key)
            throws CacheException
Throws:
CacheException

load

java.util.Iterator<CacheItem<K,V>> load()
                                        throws CacheException
Throws:
CacheException

unload

void unload(K key,
            java.util.Date d)
            throws CacheException
Throws:
CacheException


Copyright © 2007 null. All Rights Reserved.