示例#1
0
 @Override
 public void beforeRecalculatePrimaryStorageCapacity(
     RecalculatePrimaryStorageCapacityStruct struct) {
   new LocalStorageCapacityRecalculator().calculateTotalCapacity(struct.getPrimaryStorageUuid());
 }
示例#2
0
 @Override
 public void afterRecalculatePrimaryStorageCapacity(
     RecalculatePrimaryStorageCapacityStruct struct) {
   new LocalStorageCapacityRecalculator()
       .calculateByPrimaryStorageUuid(struct.getPrimaryStorageUuid());
 }