org.mule.api.store
Interface ObjectStoreManager

All Known Implementing Classes:
MuleObjectStoreManager

public interface ObjectStoreManager


Method Summary
 void disposeStore(ObjectStore<? extends Serializable> store)
          Delete all objects from the partition
<T extends ObjectStore<? extends Serializable>>
T
getObjectStore(String name)
          Return the partition of the default in-memory store with the given name, creating it if necessary.
<T extends ObjectStore<? extends Serializable>>
T
getObjectStore(String name, boolean isPersistent)
          Return the partition of the default in-memory or persistent store with the given name, creating it if necessary.
<T extends ObjectStore<? extends Serializable>>
T
getObjectStore(String name, boolean isPersistent, int maxEntries, int entryTTL, int expirationInterval)
          Return the monitored partition of the default in-memory or persistent store with the given name, creating it if necessary.
 

Method Detail

getObjectStore

<T extends ObjectStore<? extends Serializable>> T getObjectStore(String name)
Return the partition of the default in-memory store with the given name, creating it if necessary.


getObjectStore

<T extends ObjectStore<? extends Serializable>> T getObjectStore(String name,
                                                                 boolean isPersistent)
Return the partition of the default in-memory or persistent store with the given name, creating it if necessary.


getObjectStore

<T extends ObjectStore<? extends Serializable>> T getObjectStore(String name,
                                                                 boolean isPersistent,
                                                                 int maxEntries,
                                                                 int entryTTL,
                                                                 int expirationInterval)
Return the monitored partition of the default in-memory or persistent store with the given name, creating it if necessary.


disposeStore

void disposeStore(ObjectStore<? extends Serializable> store)
                  throws ObjectStoreException
Delete all objects from the partition

Throws:
ObjectStoreException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.