public class MuleObjectStoreManager extends Object implements org.mule.runtime.api.store.ObjectStoreManager, MuleContextAware, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
| Modifier and Type | Field and Description |
|---|---|
protected org.mule.runtime.api.scheduler.Scheduler |
scheduler |
protected ConcurrentMap<String,org.mule.runtime.api.store.ObjectStore<?>> |
stores |
| Constructor and Description |
|---|
MuleObjectStoreManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearStoreCache() |
void |
dispose() |
void |
disposeStore(org.mule.runtime.api.store.ObjectStore<? extends Serializable> store) |
<T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> |
getObjectStore(String name) |
<T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> |
getObjectStore(String name,
boolean isPersistent) |
<T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> |
getObjectStore(String name,
boolean isPersistent,
int maxEntries,
long entryTTL,
long expirationInterval) |
<T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> |
getUserObjectStore(String name,
boolean isPersistent) |
<T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> |
getUserObjectStore(String name,
boolean isPersistent,
int maxEntries,
long entryTTL,
long expirationInterval) |
void |
initialise() |
<T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> |
internalCreateStore(ListableObjectStore<? extends Serializable> baseStore,
String name,
int maxEntries,
long entryTTL,
long expirationInterval) |
void |
setBasePersistentStoreKey(String basePersistentStoreKey) |
void |
setBasePersistentUserStoreKey(String basePersistentUserStoreKey) |
void |
setBaseTransientStoreKey(String baseTransientStoreKey) |
void |
setBaseTransientUserStoreKey(String baseTransientUserStoreKey) |
void |
setMuleContext(MuleContext context) |
protected org.mule.runtime.api.scheduler.Scheduler scheduler
protected ConcurrentMap<String,org.mule.runtime.api.store.ObjectStore<?>> stores
public <T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> T getObjectStore(String name)
getObjectStore in interface org.mule.runtime.api.store.ObjectStoreManagerpublic <T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> T getObjectStore(String name, boolean isPersistent)
getObjectStore in interface org.mule.runtime.api.store.ObjectStoreManagerpublic <T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> T getObjectStore(String name, boolean isPersistent, int maxEntries, long entryTTL, long expirationInterval)
getObjectStore in interface org.mule.runtime.api.store.ObjectStoreManagerpublic <T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> T getUserObjectStore(String name, boolean isPersistent)
public <T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> T getUserObjectStore(String name, boolean isPersistent, int maxEntries, long entryTTL, long expirationInterval)
public <T extends org.mule.runtime.api.store.ObjectStore<? extends Serializable>> T internalCreateStore(ListableObjectStore<? extends Serializable> baseStore, String name, int maxEntries, long entryTTL, long expirationInterval)
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.public void clearStoreCache()
public void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void disposeStore(org.mule.runtime.api.store.ObjectStore<? extends Serializable> store) throws org.mule.runtime.api.store.ObjectStoreException
disposeStore in interface org.mule.runtime.api.store.ObjectStoreManagerorg.mule.runtime.api.store.ObjectStoreExceptionpublic void setBasePersistentStoreKey(String basePersistentStoreKey)
public void setBaseTransientStoreKey(String baseTransientStoreKey)
public void setBasePersistentUserStoreKey(String basePersistentUserStoreKey)
public void setBaseTransientUserStoreKey(String baseTransientUserStoreKey)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.