public class NonDeploymentUsageManager extends java.lang.Object implements UsageManager
| Constructor and Description | 
|---|
| NonDeploymentUsageManager(ManagementContextInternal initialManagementContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Set<ApplicationUsage> | getApplicationUsage(com.google.common.base.Predicate<? super ApplicationUsage> filter)Returns the usage info that matches the given predicate. | 
| ApplicationUsage | getApplicationUsage(java.lang.String appId)Returns the usage info for the application with the given id, or null if unknown. | 
| java.util.Set<LocationUsage> | getLocationUsage(com.google.common.base.Predicate<? super LocationUsage> 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. | 
| 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). | 
public NonDeploymentUsageManager(ManagementContextInternal initialManagementContext)
public void recordApplicationEvent(Application app, Lifecycle state)
UsageManagerrecordApplicationEvent in interface UsageManagerpublic void recordLocationEvent(Location loc, Lifecycle state)
UsageManagerrecordLocationEvent in interface UsageManagerpublic LocationUsage getLocationUsage(java.lang.String locationId)
UsageManagergetLocationUsage in interface UsageManagerpublic java.util.Set<LocationUsage> getLocationUsage(com.google.common.base.Predicate<? super LocationUsage> filter)
UsageManagergetLocationUsage in interface UsageManagerpublic ApplicationUsage getApplicationUsage(java.lang.String appId)
UsageManagergetApplicationUsage in interface UsageManagerpublic java.util.Set<ApplicationUsage> getApplicationUsage(com.google.common.base.Predicate<? super ApplicationUsage> filter)
UsageManagergetApplicationUsage in interface UsageManager