lbg.simulator.tools
Class GlobalPropertiesStore
java.lang.Object
lbg.simulator.tools.GlobalPropertiesStore
public class GlobalPropertiesStore
- extends java.lang.Object
- Author:
- Cyril Briquet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GlobalPropertiesStore
public GlobalPropertiesStore()
throws GridException
- Constructs a new GlobalPropertiesStore.
- Throws:
GridException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
storeProperty
public void storeProperty(java.lang.String log_name,
java.lang.String key,
java.lang.String value)
throws GridException
- Throws:
GridException
getMeasurement
public Measurement getMeasurement(java.lang.String key)
throws GridException
- Returns stored Measurement.
- Parameters:
key
- target key
- Returns:
- stored Measurement, guaranteed to be non-null
- Throws:
GridException
- if a parameter is illegal,
or a Measurement cannot be found for target key
size
public int size()
keys
public java.util.ArrayList<java.lang.String> keys()
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.