JACK 5.4 Application Interface

aos.jack.jak.scheduler
Class Scheduler

java.lang.Object
  extended byaos.jack.jak.scheduler.Scheduler

public class Scheduler
extends java.lang.Object


Constructor Summary
Scheduler(int n, int ts)
           
 
Method Summary
 void addBlocked(Executee ex)
           
 void addRunnable(Executee ex)
           
 void blockExecuteeFor(Executee e, int t)
           
 void dump(java.io.PrintWriter pw)
           
 Executee getNext(aos.jack.jak.scheduler.Executor e)
           
 boolean isPaused(Executee e)
           
 void moveToExpired(aos.jack.jak.scheduler.Executor ex)
           
 boolean needsExecutor()
           
 void pause(Executee e)
           
 void resume(Executee e)
           
 void rmBlocked(Executee ex)
           
 void setObserver(java.util.Observer r)
           
 void setOwner(Executee e)
           
 void setTimeSlice(int t)
           
 void wakeupIdle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scheduler

public Scheduler(int n,
                 int ts)
Method Detail

pause

public void pause(Executee e)

resume

public void resume(Executee e)

isPaused

public boolean isPaused(Executee e)

wakeupIdle

public void wakeupIdle()

addRunnable

public void addRunnable(Executee ex)

addBlocked

public void addBlocked(Executee ex)

rmBlocked

public void rmBlocked(Executee ex)

setOwner

public void setOwner(Executee e)

setObserver

public void setObserver(java.util.Observer r)

setTimeSlice

public void setTimeSlice(int t)

getNext

public Executee getNext(aos.jack.jak.scheduler.Executor e)

needsExecutor

public boolean needsExecutor()

moveToExpired

public void moveToExpired(aos.jack.jak.scheduler.Executor ex)

blockExecuteeFor

public void blockExecuteeFor(Executee e,
                             int t)

dump

public void dump(java.io.PrintWriter pw)

JACK 5.4 Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088