Package | Description |
---|---|
org.hypergraphdb |
Welcome to HyperGraphDB
|
org.hypergraphdb.cache | |
org.hypergraphdb.handle |
Modifier and Type | Method and Description |
---|---|
HGLiveHandle |
HGAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib)
Inform the cache that a new atom has just been added to the database.
|
HGLiveHandle |
HGAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib)
Inform the cache that an atom has just been read from persistent storage.
|
HGLiveHandle |
HGAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace)
Replace the runtime instance of an atom with a new value.
|
HGLiveHandle |
HGAtomCache.get(HGPersistentHandle pHandle)
Retrieve an atom from the cache by its persistent handle.
|
HGLiveHandle |
HGAtomCache.get(Object atom)
Retrieve the
HGLiveHandle of a run-time atom instance. |
Modifier and Type | Method and Description |
---|---|
HGLiveHandle |
HGAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace)
Replace the runtime instance of an atom with a new value.
|
void |
HGAtomCache.freeze(HGLiveHandle handle)
Freezing an atom in the cache would prevent it from ever being removed.
|
boolean |
HGAtomCache.isFrozen(HGLiveHandle handle)
Find out whether a given atom is frozen in the cache.
|
void |
HGAtomCache.unfreeze(HGLiveHandle handle)
Unfreezing a previously frozen atom makes it available for eviction.
|
Modifier and Type | Method and Description |
---|---|
HGLiveHandle |
WeakRefAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
DefaultAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
PhantomRefAtomCache.atomAdded(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
WeakRefAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
DefaultAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib)
Associate an atom instance and a persistent handle with a live handle.
|
HGLiveHandle |
PhantomRefAtomCache.atomRead(HGPersistentHandle pHandle,
Object atom,
HGAtomAttrib attrib) |
HGLiveHandle |
WeakRefAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace) |
HGLiveHandle |
DefaultAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace) |
HGLiveHandle |
PhantomRefAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace) |
HGLiveHandle |
WeakRefAtomCache.get(HGPersistentHandle pHandle) |
HGLiveHandle |
DefaultAtomCache.get(HGPersistentHandle pHandle)
Lookup in the cache for a live handle corresponding to a persistent
handle.
|
HGLiveHandle |
PhantomRefAtomCache.get(HGPersistentHandle pHandle) |
HGLiveHandle |
WeakRefAtomCache.get(Object atom) |
HGLiveHandle |
DefaultAtomCache.get(Object atom)
Retrieve the live handle of an atom instance.
|
HGLiveHandle |
PhantomRefAtomCache.get(Object atom) |
Modifier and Type | Method and Description |
---|---|
HGLiveHandle |
WeakRefAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace) |
HGLiveHandle |
DefaultAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace) |
HGLiveHandle |
PhantomRefAtomCache.atomRefresh(HGLiveHandle handle,
Object atom,
boolean replace) |
void |
WeakRefAtomCache.freeze(HGLiveHandle handle) |
void |
DefaultAtomCache.freeze(HGLiveHandle handle) |
void |
PhantomRefAtomCache.freeze(HGLiveHandle handle) |
boolean |
WeakRefAtomCache.isFrozen(HGLiveHandle handle) |
boolean |
DefaultAtomCache.isFrozen(HGLiveHandle handle) |
boolean |
PhantomRefAtomCache.isFrozen(HGLiveHandle handle) |
void |
WeakRefAtomCache.unfreeze(HGLiveHandle handle) |
void |
DefaultAtomCache.unfreeze(HGLiveHandle handle) |
void |
PhantomRefAtomCache.unfreeze(HGLiveHandle handle) |
Modifier and Type | Interface and Description |
---|---|
interface |
HGManagedLiveHandle |
Modifier and Type | Class and Description |
---|---|
class |
DefaultLiveHandle |
class |
DefaultManagedLiveHandle |
class |
PhantomHandle
An implementation of a live handle that tracks garbage collection activity by
extending
PhantomReference . |
class |
PhantomManagedHandle |
class |
WeakHandle |
class |
WeakManagedHandle |
Copyright © 2015. All rights reserved.