Exemplo n.º 1
0
 @Override
 public void beforeRecalculatePrimaryStorageCapacity(
     RecalculatePrimaryStorageCapacityStruct struct) {
   new LocalStorageCapacityRecalculator().calculateTotalCapacity(struct.getPrimaryStorageUuid());
 }
Exemplo n.º 2
0
 @Override
 public void afterRecalculatePrimaryStorageCapacity(
     RecalculatePrimaryStorageCapacityStruct struct) {
   new LocalStorageCapacityRecalculator()
       .calculateByPrimaryStorageUuid(struct.getPrimaryStorageUuid());
 }