org.globus.mds.usefulrp.glue
Class GangliaElementProducer
java.lang.Object
org.globus.mds.usefulrp.glue.GangliaElementProducer
- All Implemented Interfaces:
- GLUEElementProducer, ResourcePropertyElementProducer
- public class GangliaElementProducer
- extends Object
- implements GLUEElementProducer, ResourcePropertyElementProducer
An instance of this class will provide an XML element for a cluster
in the GLUE schema using data gathered from a ganglia gmetad that
should be running elsewhere. This can then be used, for example,
as a ResourceProperty value.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GangliaElementProducer
public GangliaElementProducer()
- Creates an instance with all default params.
getElement
public Element getElement()
throws Exception
- Specified by:
getElement in interface GLUEElementProducer
- Throws:
Exception
getElement
public Element getElement(String[] args)
throws Exception
- Description copied from interface:
ResourcePropertyElementProducer
- Generate a DOM Element that can be used as a value of a Resource Property
- Specified by:
getElement in interface ResourcePropertyElementProducer
- Parameters:
args - An string argument vector to be passed as parameters to the
implementing class
- Returns:
- A DOM Element
- Throws:
Exception
Copyright © 1999-2006 University of Chicago. All rights reserved.