|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@Beta public interface UsageManager
Method Summary | |
---|---|
ApplicationUsage
|
getApplicationUsage(java.lang.String appId)
Returns the usage info for the application with the given id, or null if unknown. |
java.util.Set
|
getApplicationUsage(Predicate filter)
Returns the usage info that matches the given predicate. |
LocationUsage
|
getLocationUsage(java.lang.String locationId)
Returns the usage info for the location with the given id, or null if unknown. |
java.util.Set
|
getLocationUsage(Predicate filter)
Returns the usage info that matches the given predicate. |
void
|
recordApplicationEvent(Application app, Lifecycle state)
Adds this application event to the usage record for the given app (creating the usage record if one does not already exist). |
void
|
recordLocationEvent(Location loc, Lifecycle state)
Adds this location event to the usage record for the given location (creating the usage record if one does not already exist). |
Method Detail |
---|
public ApplicationUsage getApplicationUsage(java.lang.String appId)
public java.util.Set getApplicationUsage(Predicate filter)
public LocationUsage getLocationUsage(java.lang.String locationId)
public java.util.Set getLocationUsage(Predicate filter)
public void recordApplicationEvent(Application app, Lifecycle state)
public void recordLocationEvent(Location loc, Lifecycle state)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.