org.objectweb.perseus.distribution.lib

Class TaskPerformer

Implemented Interfaces:
Runnable

public class TaskPerformer
extends java.lang.Object
implements Runnable

This class is an implementation of Runnable that performs thread of tasks. It repeatedly gets a ready thread and performs its running task until a 'null' thread is returned meaning that it must exit. A call to start must be done before it can be ran (this is done when adding it to the scheduler)

Constructor Summary

TaskPerformer(String name)

Method Summary

void
run()
void
start(TaskScheduler sched)
String
toString()

Constructor Details

TaskPerformer

public TaskPerformer(String name)

Method Details

run

public void run()


start

public void start(TaskScheduler sched)


toString

public String toString()


Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.