Package xal.service.pvlogger
Class LoggerConfiguration
java.lang.Object
xal.service.pvlogger.LoggerConfiguration
Manage the configuration of the PV Logger
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final xal.service.pvlogger.PersistentStore
database store -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close the database connectionfetch the channel groupsget the database connectionvoid
publishChannelsToGroup
(List<String> channelNames, String groupID) Publish the channel snapshots.void
publishGroupEdits
(Set<ChannelGroupRecord> groupRecords) Publish the group records as groupsvoid
setConnection
(Connection connection) set the connection
-
Field Details
-
persistentStore
protected final xal.service.pvlogger.PersistentStore persistentStoredatabase store
-
-
Constructor Details
-
LoggerConfiguration
Constructor
-
-
Method Details
-
fetchChannelGroups
fetch the channel groups- Throws:
SQLException
-
publishChannelsToGroup
Publish the channel snapshots.- Parameters:
channelNames
- PVs to insertgroupID
- Channel Group ID- Throws:
SQLException
-
publishGroupEdits
Publish the group records as groups- Throws:
SQLException
-
getConnection
get the database connection -
setConnection
set the connection -
closeConnection
public void closeConnection()close the database connection
-