org.xwiki.cache
Interface DisposableCacheValue


public interface DisposableCacheValue

If the value inserted in the cache implement this interface, the dispose() method will be called to release all resource used by this data when it is removed from the cache.

Version:
$Id$

Method Summary
 void dispose()
           
 

Method Detail

dispose

void dispose()
             throws java.lang.Exception
Throws:
java.lang.Exception - error when releasing the resource of this data.


Copyright © 2004-2011 XWiki. All Rights Reserved.