org.globus.mds.usefulrp
Class GLUEResourceProperty

java.lang.Object
  extended byorg.globus.wsrf.impl.BaseResourceProperty
      extended byorg.globus.wsrf.impl.ReflectionResourceProperty
          extended byorg.globus.mds.usefulrp.GLUEResourceProperty
All Implemented Interfaces:
org.globus.wsrf.ResourceProperty

public class GLUEResourceProperty
extends org.globus.wsrf.impl.ReflectionResourceProperty

An MDS ResourceProperty that will allow services to easily publish queue and host status information in the GLUE schema.
This Resource property requires cluster and queue status provider scripts to generate the actual data based on the batch system and cluster monitoring system in place.
The output of the queue status provider should be an XML document with root element a Scheduler element, as defined in the MDS usefulrp schema package.
The output of the cluster status provider should be an XML document with root element a GLUE Cluster element, as defined in the GLUE schema XML mapping.
The provider scripts will be executed approximately every 5 minutes. TODO this could become configurable, or even perhaps become non-timebased, for example, by receiving push information.


Field Summary
 
Fields inherited from class org.globus.wsrf.impl.BaseResourceProperty
metaData
 
Constructor Summary
GLUEResourceProperty(QName name, String scheduler)
           
 
Method Summary
 GLUECERPType getDynamicValue()
          This method assembles cached data into a GLUE RP value.
 
Methods inherited from class org.globus.wsrf.impl.ReflectionResourceProperty
add, clear, get, getValueSimple, initialize, isArray, isEmpty, iterator, remove, set, setObject, setPropertyName, size, toElements, toSOAPElements
 
Methods inherited from class org.globus.wsrf.impl.BaseResourceProperty
convert, convertObject, convertPrimitive, getMetaData, setMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLUEResourceProperty

public GLUEResourceProperty(QName name,
                            String scheduler)
                     throws Exception
Throws:
Exception - passes along any exception encountered during construction of underlying ReflectionResourceProperty.
Method Detail

getDynamicValue

public GLUECERPType getDynamicValue()
This method assembles cached data into a GLUE RP value. It should return fast, with other threads populating the cache.



Copyright © 1999-2006 University of Chicago. All rights reserved.