|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject i3.dragos.core.services.events.DragosEvent i3.dragos.gm.core.event.GraphPoolEvent
public class GraphPoolEvent
A GraphPoolEvent
is triggered for graph pool related actions such as opening, closing, or deleting a
graph pool. The source of this event is the DataSourceURL, not the GraphPool, because GraphPool is not Serializable.
Field Summary | |
---|---|
static int |
CLOSE
Event type constant: Identifies that a graph pool has been closed. |
static int |
CREATE
Event type constant: Identifies the creation of a graph pool. |
static int |
DATA_CLEAR
Event type constant: Identifies that the graph pool content has been cleared. |
static int |
DESTROY
Event type constant: Identifies the destruction of a graph pool. |
static int |
OPEN
Event type constant: Identifies that a graph pool has been opened. |
static int |
SCHEMA_CLEAR
Event type constant: Identifies that the graph pool schema has been cleared. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GraphPoolEvent(DataSourceURL dataSourceURL,
int eventType)
Constructs a new event. |
Method Summary | |
---|---|
DataSourceURL |
getDataSourceURL()
Returns the datasource URL of the affected graph pool. |
Methods inherited from class i3.dragos.core.services.events.DragosEvent |
---|
getEventClass, getEventType, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CREATE
public static final int OPEN
public static final int CLOSE
public static final int DESTROY
public static final int DATA_CLEAR
public static final int SCHEMA_CLEAR
Constructor Detail |
---|
public GraphPoolEvent(DataSourceURL dataSourceURL, int eventType)
dataSourceURL
- The data source URL of the pool.eventType
- The type of event.Method Detail |
---|
public final DataSourceURL getDataSourceURL()
getSource()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |