Class LoggerConfiguration

java.lang.Object
xal.service.pvlogger.LoggerConfiguration

public class LoggerConfiguration extends Object
Manage the configuration of the PV Logger
  • Field Details

    • persistentStore

      protected final xal.service.pvlogger.PersistentStore persistentStore
      database store
  • Constructor Details

    • LoggerConfiguration

      public LoggerConfiguration(Connection connection)
      Constructor
  • Method Details

    • fetchChannelGroups

      public List<ChannelGroup> fetchChannelGroups() throws SQLException
      fetch the channel groups
      Throws:
      SQLException
    • publishChannelsToGroup

      public void publishChannelsToGroup(List<String> channelNames, String groupID) throws SQLException
      Publish the channel snapshots.
      Parameters:
      channelNames - PVs to insert
      groupID - Channel Group ID
      Throws:
      SQLException
    • publishGroupEdits

      public void publishGroupEdits(Set<ChannelGroupRecord> groupRecords) throws SQLException
      Publish the group records as groups
      Throws:
      SQLException
    • getConnection

      public Connection getConnection()
      get the database connection
    • setConnection

      public void setConnection(Connection connection)
      set the connection
    • closeConnection

      public void closeConnection()
      close the database connection