de.uka.ipd.sdq.scheduler
Interface IActiveResource

All Known Implementing Classes:
AbstractActiveResource, SimActiveResource, SimDelayResource, SimFCFSResource, SimProcessorSharingResource

public interface IActiveResource

An active resource can execute demands of schedulable processes. Active resources are shared by multiple processes so that they need to use scheduling strategies to assign processing time of the resources to processes.

Author:
jens

Method Summary
 String getId()
          Unique identifier of the resource.
 String getName()
          Name of the resource.
 void notifyTerminated(ISchedulableProcess simProcess)
           
 void process(ISchedulableProcess process, double demand)
          Processes the specified demand of the process.
 void registerProcess(IRunningProcess runningProcess)
           
 void start()
          Creates the initial events for the resource.
 void stop()
           
 

Method Detail

process

void process(ISchedulableProcess process,
             double demand)
Processes the specified demand of the process.


start

void start()
Creates the initial events for the resource.


getId

String getId()
Unique identifier of the resource.

Returns:

getName

String getName()
Name of the resource.

Returns:

stop

void stop()

registerProcess

void registerProcess(IRunningProcess runningProcess)

notifyTerminated

void notifyTerminated(ISchedulableProcess simProcess)