org.ozoneDB.core.storage
Interface TrimmingCache
- All Superinterfaces:
- Cache
- All Known Implementing Classes:
- AbstractTrimmingCache
- public interface TrimmingCache
- extends Cache
A trimming cache is a cache that calls a TrimHandler when it 'knows' that
it has thrown an element out of the cache.
- Version:
- $Id: TrimmingCache.java,v 1.1.2.1 2004/03/28 16:40:04 per_nyfelt Exp $
- Author:
- Leo Mekenkamp (mind the anti sp@m)
Nested Class Summary |
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. |
setTrimHandler
public void setTrimHandler(TrimmingCache.TrimHandler trimHandler)
getTrimHandler
public TrimmingCache.TrimHandler getTrimHandler()
setSynchronizer
public void setSynchronizer(java.lang.Object synchronizer)
getSynchronizer
public java.lang.Object getSynchronizer()
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.