|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jms.file.FileQueueStore
public class FileQueueStore
Implements a file queue.
| Constructor Summary | |
|---|---|
FileQueueStore(MessageFactory messageFactory)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
Path |
getPath()
Returns the path to the backing database |
void |
init()
|
MessageImpl |
readMessage(long id,
MessageType type)
Retrieves a message from the persistent store. |
MessageImpl |
receive()
Retrieves a message from the persistent store. |
void |
remove(java.lang.String id)
Retrieves a message from the persistent store. |
long |
send(MessageImpl msg,
int priority,
long expireTime)
Adds a new message to the persistent store. |
void |
setName(java.lang.String name)
|
void |
setPath(Path path)
Sets the path to the database |
void |
setTablePrefix(java.lang.String prefix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileQueueStore(MessageFactory messageFactory)
| Method Detail |
|---|
public void setName(java.lang.String name)
public java.lang.String getName()
public void setPath(Path path)
public Path getPath()
public void setTablePrefix(java.lang.String prefix)
public void init()
public long send(MessageImpl msg,
int priority,
long expireTime)
public MessageImpl readMessage(long id,
MessageType type)
public MessageImpl receive()
public void remove(java.lang.String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||