Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.utils.common
Class EventQueue

    java.lang.Object
      oracle.ifs.utils.common.EventQueue

    public class EventQueue

extends java.lang.Object

This is an implementation of a blocking queue. Calls to dequeue an object will return the next item in the queue, or block until an item is available.

Constructor Summary
`EventQueue()`
`EventQueue(int size)`

Method Summary
`java.lang.Object` | `dequeue()`
`java.lang.Object` | `dequeue(long timeout)`
`void` | `enqueue(java.lang.Object o)`
`int` | `size()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EventQueue

    public EventQueue()

### EventQueue

    public EventQueue(int size)

Method Detail

### enqueue

    public void enqueue(java.lang.Object o)

### dequeue

    public java.lang.Object dequeue()
                             throws java.lang.InterruptedException

  Throws:
    `java.lang.InterruptedException`

### dequeue

    public java.lang.Object dequeue(long timeout)
                             throws java.lang.InterruptedException

  Throws:
    `java.lang.InterruptedException`

### size

    public int size()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD