|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RASIQueue
The RASIQueue
interface describes those methods which
must be implemented in order to be a queue for RAS events.
RASQueue
,
RASCircularQueue
Method Summary | |
---|---|
java.lang.Object |
dequeue()
Deprecated. Removes an object from the queue. |
void |
enqueue(java.lang.Object object)
Deprecated. Adds an object to the queue. |
java.lang.Object |
firstObject()
Deprecated. Returns the first object on the queue, but does not remove it from the queue. |
int |
getMaximumQueueSize()
Deprecated. Gets the maximum number of objects which this queue will hold. |
int |
getQueueSize()
Deprecated. Gets the current number of objects in this queue. |
boolean |
isCircular()
Deprecated. Determines if the queue is circular. |
boolean |
isEmpty()
Deprecated. Determines if the queue is empty. |
boolean |
isFull()
Deprecated. Determines if the queue is full. |
void |
requeue(java.lang.Object object)
Deprecated. Returns an object to the front of the queue. |
Method Detail |
---|
int getQueueSize()
int getMaximumQueueSize()
boolean isEmpty()
true
if the queue is empty or false
otherwise.boolean isFull()
true
if the queue is full or false
otherwise.boolean isCircular()
true
if this queue is circular, or false
otherwise.void enqueue(java.lang.Object object) throws RASQueueFullException
null
,
nothing is enqueued.
object
- The object to be placed on the queue.
RASQueueFullException
- This exception is thrown if the queue is full.java.lang.Object dequeue() throws RASQueueEmptyException
RASQueueEmptyException
- This exception is thrown if the queue is empty.void requeue(java.lang.Object object)
null
, nothing is enqueued.
object
- The object to be placed on the queue.java.lang.Object firstObject() throws RASQueueEmptyException
RASQueueEmptyException
- This exception is thrown if the queue is empty.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |