ozone core API

org.ozoneDB.core.storage
Interface AbstractReferenceCache.KeyedReference

All Known Implementing Classes:
SoftReferenceCache.ObjectReference, WeakReferenceCache.ObjectReference
Enclosing interface:
AbstractReferenceCache

protected static interface AbstractReferenceCache.KeyedReference

We need to find objects in the map that holds the references. To do that we need to add a key to a reference. The ReferenceHandler can remove defunct references from the map, using the key to find the defunct references.


Method Summary
 void clear()
           
 boolean enqueue()
           
 java.lang.Object get()
           
 java.lang.Object getKey()
           
 boolean isEnqueued()
           
 

Method Detail

clear

public void clear()

enqueue

public boolean enqueue()

get

public java.lang.Object get()

isEnqueued

public boolean isEnqueued()

getKey

public java.lang.Object getKey()

ozone core API

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