Package org.gridlab.gat.resources

This package contains the classes and interfaces which are used for using resources, be they hardware or software resources.

See:
          Description

Interface Summary
CoScheduleJob An instance of this class represents a coschedule job.
HardwareResource An instance of this interface is an abstract representation of a physical hardware resource which is Monitorable.
Job An instance of this class represents a job.
Reservation An instance implementing this interface represents a reservation for Resources.
Resource Resource is a base interface which is realized by any class which wishes to indicate it represents a node or component; currently both a HardwareResource and a SoftwareResource realize this interface.
ResourceBroker An instance of this class is used to submit Jobs or to reserve Resources.
WrapperJob An instance of this class represents a wrapper job.
 

Class Summary
AbstractJobDescription Abstract job description.
CoScheduleJobDescription An instance of this class describes an coschedule job to be run.
HardwareResourceDescription An instance of this class is a description of a hardware resource, a physical entity, which a may be required by a hardware or software component.
JavaSoftwareDescription An instance of this class is a description of a piece of java software (component) which is to be submitted as a job.
JobDescription An instance of this class describes a job to be run.
OrderedCoScheduleJobDescription  
OrderedCoScheduleJobDescription.JobLink  
ResourceDescription The ResourceDescription interface forms the base for the SoftwareResourceDescriptions and HardwareResourceDescriptions classes; these are used to specify and find resources which may then be used, for example, to submit a Job to.
SoftwareDescription An instance of this class is a description of a piece of software (component) which is to be submitted as a job.
SoftwareResource An abstract representation of a piece of software.
SoftwareResourceDescription An instance of this class is a description of a software resource, which may be required by a hardware or software component.
WrapperJobDescription  
WrapperSoftwareDescription An instance of this class is a description of a piece of java software (component) which is to be submitted as a wrapper job.
 

Enum Summary
Job.JobState An instance of this enumeration indicates the state of a Job.
WrapperJobDescription.ScheduledType An instance of this enumeration indicates the scheduled type of the WrapperJobDescription.
 

Package org.gridlab.gat.resources Description

This package contains the classes and interfaces which are used for using resources, be they hardware or software resources. The most important classes and interfaces in this package are ResourceBroker and Reservation. An instance of the class ResourceBroker represents a broker for resources and is used to reserve and find resources. An instance of the class Reservation represents a reservation for a resource and is used to manipulate this reservation.

The most important classes and interfaces dealing with hardware resources are HardwareResourceDescription and HardwareResource. An instance of the class HardwareResourceDescription represents a description of a hardware resource and is used to describe such. An instance of the class HardwareResource represents a hardware resource and is used to manipulate such.

The most important classes and interfaces dealing with software resources are SoftwareResourceDescription, and Job. An instance of the class SoftwareResourceDescription represents a description of a software resource and is used to describe such. Jobs represent running tasks on a grid site.

The classes in this package are related to each other as follows. A JobDescription contains a SoftwareDescription and either a ResourceDescription or a Resource object. The method submitJob of the ResourceBroker creates a Job out of the JobDescription. The ResourceDescription object as well as the Resource object are abstract and have subclasses for hardware and software (called HardwareResourceDescription, HardwareResource, SoftwareResourceDescription and SoftwareResource). There's also a special convenience sub-type of the SoftwareDescription, the JavaSoftwareDescription, which makes it easier to create a description of a Java application. The ResourceBroker cannot only turn JobDescriptions into Jobs, but also pairs of Resources (or ResourceDescriptions) and TimePeriods into Reservations.