Class PvaGetArchivedPVs

java.lang.Object
org.epics.archiverappliance.mgmt.pva.actions.PvaGetArchivedPVs
All Implemented Interfaces:
PvaAction

public class PvaGetArchivedPVs extends Object implements PvaAction
Given a list of PVs, determine those that are being archived. Of course, you can use the status call but that makes calls to the engine etc and can be stressful if you are checking several thousand PVs All this does is check the configservice...

Given a list of PVs, determine those that are being archived.

example request

epics:nt/NTTable:1.0

  • string[] labels [pv]
  • structure value
    • string[] pv [test_0,test_1,test_10,test_100...]
example result:

epics:nt/NTTable:1.0

  • string[] labels [pv,status]
  • structure value
    • string[] pv [test_0,test_1,test_10,test_100...]
    • string[] status [Being archived,Initial sampling,Being archived,Being archived,...]

Based on ArchivedPVsAction

Author:
mshankar, shroffk
  • Field Details

  • Constructor Details

    • PvaGetArchivedPVs

      public PvaGetArchivedPVs()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: PvaAction
      Name of the action
      Specified by:
      getName in interface PvaAction
      Returns:
      the name of the service
    • request

      public org.epics.pva.data.PVAStructure request(org.epics.pva.data.PVAStructure args, ConfigService configService) throws PvaActionException
      Description copied from interface: PvaAction
      Handles an RPC request to the archiver.
      Specified by:
      request in interface PvaAction
      Parameters:
      args - Input arguments
      configService - Current config service
      Throws:
      PvaActionException - which is then passed to the serverPV to return the error to the user.