aicas logo Realtime Java
Technology.

javax.realtime
Class WaitFreeReadQueue

java.lang.Object
  |
  +--javax.realtime.WaitFreeReadQueue

public class WaitFreeReadQueue
extends java.lang.Object


Constructor Summary
WaitFreeReadQueue(java.lang.Thread writer, java.lang.Thread reader, int maximum, MemoryArea memory)
           
WaitFreeReadQueue(java.lang.Thread writer, java.lang.Thread reader, int maximum, MemoryArea memory, boolean notify)
           
 
Method Summary
 void clear()
           
 boolean isEmpty()
           
 boolean isFull()
           
 java.lang.Object read()
           
 int size()
           
 void waitForData()
           
 boolean write(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitFreeReadQueue

public WaitFreeReadQueue(java.lang.Thread writer,
                         java.lang.Thread reader,
                         int maximum,
                         MemoryArea memory,
                         boolean notify)
                  throws java.lang.IllegalArgumentException,
                         java.lang.InstantiationException,
                         java.lang.ClassNotFoundException,
                         java.lang.IllegalAccessException

WaitFreeReadQueue

public WaitFreeReadQueue(java.lang.Thread writer,
                         java.lang.Thread reader,
                         int maximum,
                         MemoryArea memory)
                  throws java.lang.IllegalArgumentException,
                         java.lang.InstantiationException,
                         java.lang.ClassNotFoundException,
                         java.lang.IllegalAccessException
Method Detail

clear

public void clear()

isEmpty

public boolean isEmpty()

isFull

public boolean isFull()

read

public java.lang.Object read()

size

public int size()

waitForData

public void waitForData()

write

public boolean write(java.lang.Object object)
              throws MemoryScopeException

aicas logo Realtime Java
Technology.

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2003 aicas GmbH. All Rights Reserved.