This package contains an implementation of a Resource Monitor (RM). At the moment the RM merely serves as a logging interface for statistics.
The RM keeps track of two types of statistics: managed and dynamic. Managed statistics are explicitly recorded by other stages (logged with utilization deltas). Dynamic statistics are for resources that are out of our control (like the VM or OS) and are periodically polled for utilization values. The {@link ostore.monitor.ResourceMonitorStage RM stage} periodically dumps the logged information to disk.
For efficiency, the logging interface is functional and is done through a {@link ostore.monitor.Resource} object handle. To obtain a resource handle, either:
Additional Resources can be implemented by extending the {@link ostore.monitor.Resource} class for managed resources or {@link ostore.monitor.DynamicResource} for dynamic resources.