public class JdbcStorage extends BaseStorage
| Constructor and Description |
|---|
JdbcStorage(DataSourceFactory dataSourceFactory,
java.util.concurrent.ScheduledExecutorService scheduler,
java.util.Properties dbProperties,
boolean usePool,
java.lang.String schema,
java.lang.String instance) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Query |
query(java.lang.String filter) |
void |
start() |
Event |
store(Event event,
StoreListener listener) |
Event |
update(java.util.UUID id,
java.lang.String comment,
StoreListener listener) |
createEvent, getNodeId, store, updatepublic JdbcStorage(DataSourceFactory dataSourceFactory,
java.util.concurrent.ScheduledExecutorService scheduler,
java.util.Properties dbProperties,
boolean usePool,
java.lang.String schema,
java.lang.String instance)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void start()
public void dispose()
public Event store(Event event, StoreListener listener)
public Event update(java.util.UUID id, java.lang.String comment, StoreListener listener) throws java.lang.Exception
java.lang.Exceptionpublic Query query(java.lang.String filter) throws java.lang.Exception
java.lang.Exception
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0