public abstract class Organizer extends SystemThread
Modifier and Type | Field and Description |
---|---|
private Latch |
latch
A latch used for activate/passivate.
|
protected Listener |
listener
The listener associated with this organizer.
|
rvmThread
Constructor and Description |
---|
Organizer()
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
getRVMThread, start, stop
protected Listener listener
null
if the organizer has no associated listener.public Organizer()
public void run()
run
in class SystemThread
public void report()
abstract void thresholdReached()
protected abstract void initialize()
private void passivate()
public void activate()