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

## lbg.common.math
Class MeasurementSaver

    java.lang.Object
      lbg.common.math.MeasurementSaver

All Implemented Interfaces:
  java.lang.Runnable

    public class MeasurementSaver

extends java.lang.Object
implements java.lang.Runnable

A utility to save a `Measurement` into a file.

Intended to be used as a shutdown hook (by Users, GridDataManagers, ...).

Author:
  Xavier Dalem
See Also:
  `Runtime.addShutdownHook(Thread)`

Constructor Summary
`MeasurementSaver(Measurement measurement, java.lang.String stats_directory)`

Method Summary
`void` | `run()`

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

Constructor Detail

### MeasurementSaver

    public MeasurementSaver(Measurement measurement,
                            java.lang.String stats_directory)
                     throws GridException

Throws:
  `GridException`

Method Detail

### run

    public void run()

  Specified by:
    `run` in interface `java.lang.Runnable`

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

> Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.