Package | Description |
---|---|
org.hypergraphdb.event |
Modifier and Type | Class and Description |
---|---|
class |
HGAtomAccessedEvent
This event is triggered every time an atom is accessed by its handle in HyperGraph.
|
class |
HGAtomAddedEvent
This is triggered after a new atom, node or link, has been added to
to HyperGraph.
|
class |
HGAtomEvent
This is a base class for various atom related events.
|
class |
HGAtomEvictEvent
An
HGAtomEvictedEvent is triggered by the cache when an atom's run-time
instance is removed from memory. |
class |
HGAtomLoadedEvent |
class |
HGAtomProposeEvent
Event triggered when a new atom is about to be added to the graph.
|
class |
HGAtomRemovedEvent |
class |
HGAtomRemoveRequestEvent
A
HGAtomRemoveRequestEvent is triggered when an attempt is made to remove
an from HyperGraph, but before the removal process proceeds. |
class |
HGAtomReplacedEvent |
class |
HGAtomReplaceRequestEvent
A
HGAtomReplaceRequestEvent is triggered when an attempt is made to replace
the value of an existing atom within the HyperGraph, but before the replacement process proceeds. |
class |
HGClosingEvent
A
HGClosingEvent is generated right before the closing and cleanup process of
currently opened HyperGraph is initiated. |
class |
HGEventBase |
class |
HGLoadPredefinedTypeEvent
This event is triggered by the type system when the run-time instance of a
predefined type needs to be loaded in the cache.
|
class |
HGOpenedEvent
A
HGOpenedEvent is generated right after a new HyperGraph instance has been opened
and fully initialized. |
class |
HGTransactionEndEvent
An event triggered upon completion (successful or not) of each transaction.
|
class |
HGTransactionStartedEvent
An event triggered upon the start of every database transaction.
|
Modifier and Type | Method and Description |
---|---|
<T extends HGEvent> |
HGEventManager.addListener(Class<T> eventType,
HGListener listener)
Register a new listener for a given event type.
|
<T extends HGEvent> |
HGDefaultEventManager.addListener(Class<T> eventType,
HGListener listener) |
<T extends HGEvent> |
HGEventManager.removeListener(Class<T> eventType,
HGListener listener)
Remove a listener registered for the particular type.
|
<T extends HGEvent> |
HGDefaultEventManager.removeListener(Class<T> eventType,
HGListener listener) |
Modifier and Type | Method and Description |
---|---|
HGListener.Result |
HGEventManager.dispatch(HyperGraph graph,
HGEvent event)
Dispatch an event to all listeners registered for its type.
|
HGListener.Result |
HGDefaultEventManager.dispatch(HyperGraph hg,
HGEvent event) |
HGListener.Result |
HGListener.handle(HyperGraph graph,
HGEvent event) |
Copyright © 2015. All rights reserved.