Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jini.rio.qos.measurable.disk
Class DiskSpaceMonitor

    java.lang.Object
      org.jini.rio.qos.measurable.disk.DiskSpaceMonitor

All Implemented Interfaces:
  MeasurableMonitor

    public class DiskSpaceMonitor

extends Object
implements MeasurableMonitor

The `DiskSpaceMonitor` object provides feedback information to the `DiskSpace` object, providing memory usage information

Constructor Summary
`DiskSpaceMonitor()`

Method Summary
`double` | `getValue()` Get the value being measured
`double[]` | `getValues()` Get the computed values for this `DiskSpace` object
`void` | `terminate()` Terminate any collection mechanisms

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DiskSpaceMonitor

    public DiskSpaceMonitor()

Method Detail

### getValues

    public double[] getValues()

  Get the computed values for this `DiskSpace` object

  Specified by:
    `getValues` in interface `MeasurableMonitor`
  Returns:
    Array of double values: available and used

### getValue

    public double getValue()

  Description copied from interface: `MeasurableMonitor`
  Get the value being measured

  Specified by:
    `getValue` in interface `MeasurableMonitor`
  Returns:
    The value for the depletion oriented resource being measured

### terminate

    public void terminate()

  Description copied from interface: `MeasurableMonitor`
  Terminate any collection mechanisms

  Specified by:
    `terminate` in interface `MeasurableMonitor`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Project Rio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Project Rio.