org.joseki.util.cache
Interface CacheItemFactory


public interface CacheItemFactory


Method Summary
 java.lang.Object create(java.lang.Object key)
          Make (reestablish) an object based on its key
 void destroy(java.lang.Object key, java.lang.Object obj)
          Release an object based on its key.
 

Method Detail

create

public java.lang.Object create(java.lang.Object key)
Make (reestablish) an object based on its key


destroy

public void destroy(java.lang.Object key,
                    java.lang.Object obj)
Release an object based on its key. The cache will already have removed the thing from the cache. No calls to (re)create the object will be made during this operation.



Copyright © 2002 Hewlett-Packard. All Rights Reserved.