Class CapacityPlanningBPL
java.lang.Object
org.epics.archiverappliance.mgmt.archivepv.CapacityPlanningBPL
Primary capacity planning logic for the default capacity planning as outlined in the doc.
- Author:
- luofeng
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ApplianceInfopickApplianceForPV(String pvName, ConfigService configService, PVTypeInfo pvTypeInfo) get the appliance for this pv.
-
Constructor Details
-
CapacityPlanningBPL
public CapacityPlanningBPL()
-
-
Method Details
-
pickApplianceForPV
public static ApplianceInfo pickApplianceForPV(String pvName, ConfigService configService, PVTypeInfo pvTypeInfo) throws IOException get the appliance for this pv. this method implements the capacity planning- Parameters:
pvName- the name of the pv.configService- the local configServicepvTypeInfo- the pvTypeInfo of this pv.- Returns:
- the ApplianceInfo of the appliance which this pv will be added
- Throws:
IOException- error occurs during the capacity planning. in this case, this method will return the ApplianceInfo of the local appliance
-