Class CapacityPlanningBPL
- java.lang.Object
-
- org.epics.archiverappliance.mgmt.archivepv.CapacityPlanningBPL
-
public class CapacityPlanningBPL extends Object
Primary capacity planning logic for the default capacity planning as outlined in the doc.- Author:
- luofeng
-
-
Constructor Summary
Constructors Constructor Description CapacityPlanningBPL()
-
Method Summary
Modifier and Type Method Description static ApplianceInfo
pickApplianceForPV(String pvName, ConfigService configService, PVTypeInfo pvTypeInfo)
get the appliance for this pv.
-
-
-
Method Detail
-
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
-
-