aos.jack.jak.scheduler
Class Scheduler
java.lang.Object
aos.jack.jak.scheduler.Scheduler
- public class Scheduler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Scheduler
public Scheduler(int n,
int ts)
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)
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