unm.maui.rm
Interface Matcher

All Known Implementing Classes:
BasicMatcher

public interface Matcher

Matcher is responsible for matching requests to resources in an efficent and sane manner (finding nodes/slots for a schedulable object).

See Also:
Schedulable

Method Summary
 void assignProperties(java.lang.String prefix, java.util.Properties props)
          Set properties.
 void findNodesSlots(Schedulable sch, SchedVars vars)
          Get nodes/slots for a Schedulable.
 

Method Detail

assignProperties

public void assignProperties(java.lang.String prefix,
                             java.util.Properties props)
Set properties.

Parameters:
prefix - String properties prefix
props - Properties

findNodesSlots

public void findNodesSlots(Schedulable sch,
                           SchedVars vars)
Get nodes/slots for a Schedulable.

Parameters:
sch - Schedulable object for which we make the reservation
vars - SchedVars (in/out parameters)
See Also:
SchedVars