|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.util.store.AbstractObjectStore<T>
org.mule.util.store.QueuePersistenceObjectStore<T>
@Deprecated public class QueuePersistenceObjectStore<T extends Serializable>
| Field Summary | |
|---|---|
static String |
DEFAULT_QUEUE_STORE
Deprecated. The default queueStore directory for persistence |
| Fields inherited from class org.mule.util.store.AbstractObjectStore |
|---|
logger |
| Constructor Summary | |
|---|---|
QueuePersistenceObjectStore()
Deprecated. Default constructor for Spring. |
|
QueuePersistenceObjectStore(MuleContext context)
Deprecated. |
|
| Method Summary | |
|---|---|
List<Serializable> |
allKeys()
Deprecated. |
void |
clear()
Deprecated. Removes all items of this store without disposing it, meaning that after performing a clear(), you should still be able perform other operations. |
void |
close()
Deprecated. Close the underlying store. |
protected List<Serializable> |
collectAllKeys()
Deprecated. |
protected void |
createStoreDirectory(File directory)
Deprecated. |
protected File |
createStoreFile(Serializable key)
Deprecated. |
protected void |
deleteStoreFile(File file)
Deprecated. |
protected T |
deserialize(File file)
Deprecated. |
protected boolean |
doContains(Serializable key)
Deprecated. |
protected T |
doRemove(Serializable key)
Deprecated. |
protected T |
doRetrieve(Serializable key)
Deprecated. |
protected void |
doStore(Serializable key,
T value)
Deprecated. |
protected void |
ensureStoreDirectoryExists(File outputFile)
Deprecated. |
boolean |
isPersistent()
Deprecated. Is this store persistent? |
protected void |
listStoredFiles(File directory,
List<Serializable> keys)
Deprecated. |
void |
open()
Deprecated. Open the underlying store. |
protected void |
serialize(T value,
File outputFile)
Deprecated. |
void |
setMuleContext(MuleContext context)
Deprecated. |
| Methods inherited from class org.mule.util.store.AbstractObjectStore |
|---|
contains, remove, retrieve, store |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mule.api.store.ObjectStore |
|---|
contains, remove, retrieve, store |
| Field Detail |
|---|
public static final String DEFAULT_QUEUE_STORE
| Constructor Detail |
|---|
public QueuePersistenceObjectStore()
public QueuePersistenceObjectStore(MuleContext context)
| Method Detail |
|---|
public boolean isPersistent()
isPersistent in interface ObjectStore<T extends Serializable>
public void open()
throws ObjectStoreException
ListableObjectStore
open in interface ListableObjectStore<T extends Serializable>ObjectStoreException - if an exception occurred while opening the underlying store.
public void clear()
throws ObjectStoreException
ObjectStore
clear in interface ObjectStore<T extends Serializable>ObjectStoreException - if the operation fails
protected void createStoreDirectory(File directory)
throws ObjectStoreException
ObjectStoreException
public void close()
throws ObjectStoreException
ListableObjectStore
close in interface ListableObjectStore<T extends Serializable>ObjectStoreException - if an exception occurred while closing the underlying store.
public List<Serializable> allKeys()
throws ObjectStoreException
allKeys in interface ListableObjectStore<T extends Serializable>ObjectStoreException - if an exception occurred while collecting the list of all keys.
protected List<Serializable> collectAllKeys()
throws ObjectStoreException
ObjectStoreException
protected void listStoredFiles(File directory,
List<Serializable> keys)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
protected boolean doContains(Serializable key)
throws ObjectStoreException
doContains in class AbstractObjectStore<T extends Serializable>ObjectStoreException
protected void doStore(Serializable key,
T value)
throws ObjectStoreException
doStore in class AbstractObjectStore<T extends Serializable>ObjectStoreException
protected void ensureStoreDirectoryExists(File outputFile)
throws ObjectStoreException
ObjectStoreException
protected void serialize(T value,
File outputFile)
throws ObjectStoreException
ObjectStoreException
protected T doRetrieve(Serializable key)
throws ObjectStoreException
doRetrieve in class AbstractObjectStore<T extends Serializable>ObjectStoreException
protected File createStoreFile(Serializable key)
throws ObjectStoreException
ObjectStoreException
protected T deserialize(File file)
throws ObjectStoreException
ObjectStoreException
protected T doRemove(Serializable key)
throws ObjectStoreException
doRemove in class AbstractObjectStore<T extends Serializable>ObjectStoreException
protected void deleteStoreFile(File file)
throws ObjectStoreException
ObjectStoreExceptionpublic void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||