Class PvaGetArchivedPVs
java.lang.Object
org.epics.archiverappliance.mgmt.pva.actions.PvaGetArchivedPVs
- All Implemented Interfaces:
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...]
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of the actionorg.epics.pva.data.PVAStructurerequest(org.epics.pva.data.PVAStructure args, ConfigService configService) Handles an RPC request to the archiver.
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
PvaGetArchivedPVs
public PvaGetArchivedPVs()
-
-
Method Details
-
getName
Description copied from interface:PvaActionName of the action -
request
public org.epics.pva.data.PVAStructure request(org.epics.pva.data.PVAStructure args, ConfigService configService) throws PvaActionException Description copied from interface:PvaActionHandles an RPC request to the archiver.- Specified by:
requestin interfacePvaAction- Parameters:
args- Input argumentsconfigService- Current config service- Throws:
PvaActionException- which is then passed to the serverPV to return the error to the user.
-