public class XMLMessageQueue extends Object
| Constructor and Description |
|---|
XMLMessageQueue(String name,
int congestionLimit,
int uncongestedThreshold) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacityToCongestion() |
void |
clear() |
void |
close()
Must hold the lock
|
Object |
dequeue()
Must hold the lock
|
Object |
dequeue(long timeInMillis)
Must hold the lock
|
Object |
dequeueNoWait() |
int |
enqueue(Object message)
Must hold the lock
|
Object |
getLock() |
int |
getUncongestedMark() |
int |
size() |
void |
start()
Must hold the lock
|
void |
stop()
Must hold the lock
|
String |
toString() |
void |
visit(XMLMessageQueueList.Visitor visitor)
Must hold the lock
|
public XMLMessageQueue(String name, int congestionLimit, int uncongestedThreshold)
public void stop()
public void start()
public Object getLock()
public int size()
public int capacityToCongestion()
public int getUncongestedMark()
public void close()
public void clear()
public int enqueue(Object message)
public Object dequeue() throws InterruptedException
InterruptedExceptionpublic Object dequeue(long timeInMillis) throws InterruptedException
InterruptedExceptionpublic Object dequeueNoWait() throws InterruptedException
InterruptedExceptionpublic void visit(XMLMessageQueueList.Visitor visitor)
Copyright 2004-2020 Solace Corporation. All rights reserved.