org.mule.util.queue
Class QueueInfo
java.lang.Object
org.mule.util.queue.QueueInfo
public class QueueInfo
- extends java.lang.Object
Stores information about a Queue
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
|
int |
hashCode()
|
boolean |
offer(java.lang.Object o,
int room,
long timeout)
|
java.lang.Object |
peek()
|
java.lang.Object |
poll(long timeout)
|
void |
putNow(java.lang.Object o)
|
void |
untake(java.lang.Object item)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
list
protected java.util.LinkedList list
name
protected java.lang.String name
config
protected QueueConfiguration config
QueueInfo
public QueueInfo()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getName
public java.lang.String getName()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
putNow
public void putNow(java.lang.Object o)
offer
public boolean offer(java.lang.Object o,
int room,
long timeout)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
poll
public java.lang.Object poll(long timeout)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
peek
public java.lang.Object peek()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
untake
public void untake(java.lang.Object item)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.