public interface ChargebackModelHandlerIf
| Modifier and Type | Field and Description |
|---|---|
static int |
CHARGE_FREQ_HOURLY |
static int |
CHARGE_FREQ_MONTHLY |
static int |
HIST_MONTHLY |
static int |
HIST_RESIZE |
| Modifier and Type | Method and Description |
|---|---|
void |
computeChargebackSummary(java.util.List<VMMeteringEntry> list,
java.lang.String accountName) |
java.util.List<ChargebackSummary> |
getChargebackSummaryByVM(Group group,
java.util.Calendar beginCal,
boolean isPerDay,
boolean includeDiskCost) |
boolean |
handleVMProvision(int vmID) |
boolean |
handleVMResize(int vmId,
int currentCPUCores,
double currentMemGB,
double currentDiskGB,
int newCPUCores,
double newMemGB,
double newDiskGB) |
boolean |
isVMResizeAllowed(int vmId,
int newCPUCores,
double newMemGB,
double newDiskGB) |
static final int CHARGE_FREQ_HOURLY
static final int CHARGE_FREQ_MONTHLY
static final int HIST_RESIZE
static final int HIST_MONTHLY
java.util.List<ChargebackSummary> getChargebackSummaryByVM(Group group, java.util.Calendar beginCal, boolean isPerDay, boolean includeDiskCost) throws java.lang.Exception
java.lang.Exceptionvoid computeChargebackSummary(java.util.List<VMMeteringEntry> list, java.lang.String accountName) throws java.lang.Exception
java.lang.Exceptionboolean isVMResizeAllowed(int vmId,
int newCPUCores,
double newMemGB,
double newDiskGB)
throws java.lang.Exception
java.lang.Exceptionboolean handleVMResize(int vmId,
int currentCPUCores,
double currentMemGB,
double currentDiskGB,
int newCPUCores,
double newMemGB,
double newDiskGB)
throws java.lang.Exception
java.lang.Exceptionboolean handleVMProvision(int vmID)
throws java.lang.Exception
java.lang.Exception