public class LoggerConfiguration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected xal.service.pvlogger.PersistentStore |
PERSISTENT_STORE
database store
|
| Constructor and Description |
|---|
LoggerConfiguration(java.sql.Connection connection)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection()
close the database connection
|
java.util.List<ChannelGroup> |
fetchChannelGroups()
fetch the channel groups
|
java.sql.Connection |
getConnection()
get the database connection
|
void |
publishChannelsToGroup(java.util.List<java.lang.String> channelNames,
java.lang.String groupID)
Publish the channel snapshots.
|
void |
publishGroupEdits(java.util.Set<ChannelGroupRecord> groupRecords)
Publish the group records as groups
|
void |
setConnection(java.sql.Connection connection)
set the connection
|
protected final xal.service.pvlogger.PersistentStore PERSISTENT_STORE
public LoggerConfiguration(java.sql.Connection connection)
public java.util.List<ChannelGroup> fetchChannelGroups() throws java.sql.SQLException
java.sql.SQLExceptionpublic void publishChannelsToGroup(java.util.List<java.lang.String> channelNames,
java.lang.String groupID)
throws java.sql.SQLException
channelNames - PVs to insertgroupID - Channel Group IDjava.sql.SQLExceptionpublic void publishGroupEdits(java.util.Set<ChannelGroupRecord> groupRecords) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Connection getConnection()
public void setConnection(java.sql.Connection connection)
public void closeConnection()