org.hsqldb.lib
Class HsqlTimer.TaskQueue

java.lang.Object
  extended byorg.hsqldb.lib.HsqlArrayHeap
      extended byorg.hsqldb.lib.HsqlTimer.TaskQueue
All Implemented Interfaces:
HsqlHeap
Enclosing class:
HsqlTimer

protected class HsqlTimer.TaskQueue
extends HsqlArrayHeap

Extends HsqlArrayHeap to allow all pending tasks to be cancelled when the queue is cleared. Currently, this is done for reporting purposes only, as there is no public interface to reinsert Task objects after they have been removed.


Field Summary
 
Fields inherited from class org.hsqldb.lib.HsqlArrayHeap
count, heap, oc
 
Method Summary
 void clear()
          Cancels all pending tasks and removes them from this queue.
 
Methods inherited from class org.hsqldb.lib.HsqlArrayHeap
add, isEmpty, isFull, peek, remove, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

clear

public void clear()
Cancels all pending tasks and removes them from this queue.

Specified by:
clear in interface HsqlHeap
Overrides:
clear in class HsqlArrayHeap


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.