com.caucho.hemp.queue
Class HempFileQueueStore

java.lang.Object
  extended by com.caucho.hemp.queue.HempFileQueueStore

public class HempFileQueueStore
extends java.lang.Object

Implements a file queue.


Constructor Summary
HempFileQueueStore()
           
 
Method Summary
 java.lang.String getName()
           
 Path getPath()
          Returns the path to the backing database
 void init()
           
 void remove(java.lang.String id)
          Retrieves a message from 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

HempFileQueueStore

public HempFileQueueStore()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setPath

public void setPath(Path path)
Sets the path to the database


getPath

public Path getPath()
Returns the path to the backing database


setTablePrefix

public void setTablePrefix(java.lang.String prefix)

init

@PostConstruct
public void init()

remove

public void remove(java.lang.String id)
Retrieves a message from the persistent store.