public class UsageResource extends AbstractBrooklynRestResource implements UsageApi
AbstractBrooklynRestResource.RestValueResolver
Constructor and Description |
---|
UsageResource() |
Modifier and Type | Method and Description |
---|---|
UsageStatistics |
getApplicationUsage(java.lang.String application,
java.lang.String start,
java.lang.String end) |
UsageStatistics |
getMachineUsage(java.lang.String machine,
java.lang.String start,
java.lang.String end) |
java.util.List<UsageStatistics> |
listApplicationsUsage(java.lang.String start,
java.lang.String end) |
java.util.List<UsageStatistics> |
listMachinesUsage(java.lang.String application,
java.lang.String start,
java.lang.String end) |
brooklyn, mgmt, mgmtInternal, setManagementContext
public java.util.List<UsageStatistics> listApplicationsUsage(@Nullable java.lang.String start, @Nullable java.lang.String end)
listApplicationsUsage
in interface UsageApi
public UsageStatistics getApplicationUsage(java.lang.String application, java.lang.String start, java.lang.String end)
getApplicationUsage
in interface UsageApi
public java.util.List<UsageStatistics> listMachinesUsage(java.lang.String application, java.lang.String start, java.lang.String end)
listMachinesUsage
in interface UsageApi
public UsageStatistics getMachineUsage(java.lang.String machine, java.lang.String start, java.lang.String end)
getMachineUsage
in interface UsageApi