org.gwe.drivers.resManagers
Class GWEResourceManagerDriver

java.lang.Object
  extended by org.gwe.drivers.resManagers.ResourceManagerDriver
      extended by org.gwe.drivers.resManagers.GWEResourceManagerDriver

public class GWEResourceManagerDriver
extends ResourceManagerDriver

Since:
Mar 26, 2008
Author:
Marco Ruiz

Field Summary
 
Fields inherited from class org.gwe.drivers.resManagers.ResourceManagerDriver
agentScriptPreffix, configuration, id
 
Constructor Summary
GWEResourceManagerDriver()
           
 
Method Summary
 AllocationPhase checkAllocation(AllocationInfo alloc)
           
 boolean isSupportedJobManagerAvailable()
           
 AllocationPhase killAllocation(AllocationInfo alloc)
           
 java.lang.String queueAllocationRequest(AllocationInfo alloc)
           
 void setComputeNodes(java.util.Map<java.lang.String,java.lang.Integer> addresses)
           
 
Methods inherited from class org.gwe.drivers.resManagers.ResourceManagerDriver
allocateComputeResource, getAllocWorkspace, getId, runQueueCommand, setConfiguration, setId, writeAllocationFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GWEResourceManagerDriver

public GWEResourceManagerDriver()
Method Detail

setComputeNodes

public void setComputeNodes(java.util.Map<java.lang.String,java.lang.Integer> addresses)

isSupportedJobManagerAvailable

public boolean isSupportedJobManagerAvailable()
Specified by:
isSupportedJobManagerAvailable in class ResourceManagerDriver

queueAllocationRequest

public java.lang.String queueAllocationRequest(AllocationInfo alloc)
                                        throws ResourceAllocationException
Specified by:
queueAllocationRequest in class ResourceManagerDriver
Throws:
ResourceAllocationException

killAllocation

public AllocationPhase killAllocation(AllocationInfo alloc)
                               throws ResourceAllocationException
Specified by:
killAllocation in class ResourceManagerDriver
Throws:
ResourceAllocationException

checkAllocation

public AllocationPhase checkAllocation(AllocationInfo alloc)
                                throws ResourceAllocationException
Specified by:
checkAllocation in class ResourceManagerDriver
Throws:
ResourceAllocationException


Copyright © 2007-2009. All Rights Reserved.