|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.scheduler.SystemThread org.jikesrvm.adaptive.measurements.organizers.Organizer
public abstract class Organizer
An Organizer acts an an intermediary between the low level online measurements and the controller. An organizer may perform simple or complex tasks, but it is always simply following the instructions given by the controller.
Field Summary | |
---|---|
private Latch |
latch
A latch used for activate/passivate. |
protected Listener |
listener
The listener associated with this organizer. |
Fields inherited from class org.jikesrvm.scheduler.SystemThread |
---|
rvmThread |
Constructor Summary | |
---|---|
Organizer()
Constructor |
Method Summary | |
---|---|
void |
activate()
Called to activate the organizer thread (i.e. schedule it for execution). |
protected abstract void |
initialize()
Organizer specific setup. |
private void |
passivate()
|
void |
report()
Last opportunity to say something. |
void |
run()
Called when thread is scheduled. |
(package private) abstract void |
thresholdReached()
Method that is called when the sampling threshold is reached |
Methods inherited from class org.jikesrvm.scheduler.SystemThread |
---|
getRVMThread, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Listener listener
null
if the organizer has no associated listener.
private final Latch latch
Constructor Detail |
---|
public Organizer()
Method Detail |
---|
public void run()
run
in class SystemThread
public void report()
abstract void thresholdReached()
protected abstract void initialize()
private void passivate()
public void activate()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |