public class JdbcStorage extends BaseStorage
| Constructor and Description |
|---|
JdbcStorage(org.osgi.service.jdbc.DataSourceFactory dataSourceFactory,
ScheduledExecutorService scheduler,
Properties dbProperties,
boolean usePool,
String schema,
String instance) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Query |
query(String filter) |
void |
start() |
Event |
store(Event event,
StoreListener listener) |
Event |
update(UUID id,
String comment,
StoreListener listener) |
createEvent, getNodeId, store, updatepublic JdbcStorage(org.osgi.service.jdbc.DataSourceFactory dataSourceFactory,
ScheduledExecutorService scheduler,
Properties dbProperties,
boolean usePool,
String schema,
String instance)
throws SQLException
SQLExceptionpublic void start()
public void dispose()
public Event store(Event event, StoreListener listener)
public Event update(UUID id, String comment, StoreListener listener) throws Exception
ExceptionCopyright © 2015 Eclipse SCADA Project. All rights reserved.