ozone core API

org.ozoneDB.core.storage
Interface TrimmingCache.TrimHandler

Enclosing interface:
TrimmingCache

public static interface TrimmingCache.TrimHandler

Used by a Cache to provide for a meganism to handle elements that are going to be thrown out of that cache.


Method Summary
 void trimming(java.lang.Object key, java.lang.Object value)
          Called by a TrimmingCache just before an element will be removed from that cache.
 

Method Detail

trimming

public void trimming(java.lang.Object key,
                     java.lang.Object value)
Called by a TrimmingCache just before an element will be removed from that cache. This method may be called asynchronously (by different threads) depending on the implementation.


ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.