public class ExoCacheFactoryImpl extends Object implements ExoCacheFactory, Startable
ExoCacheFactory| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_FACTORY_CREATOR
The parameter key that defines the
ConnectionFactoryCreator |
static String |
DEFAULT_EXPIRATION_TIMEOUT
The parameter key that defines the default expiration timeout
|
static long |
DEFAULT_EXPIRATION_TIMEOUT_VALUE
The default expiration timeout, set to 15 minutes
|
static String |
MEMCACHED_LOCATIONS
The parameter key that defines the memcache locations
|
| Constructor and Description |
|---|
ExoCacheFactoryImpl(ExoContainerContext ctx,
InitParams params)
The default constructor
|
| Modifier and Type | Method and Description |
|---|---|
ExoCache |
createCache(ExoCacheConfig config) |
void |
start() |
void |
stop() |
public static final String CONNECTION_FACTORY_CREATOR
ConnectionFactoryCreatorpublic static final String MEMCACHED_LOCATIONS
public static final String DEFAULT_EXPIRATION_TIMEOUT
public static final long DEFAULT_EXPIRATION_TIMEOUT_VALUE
public ExoCacheFactoryImpl(ExoContainerContext ctx, InitParams params) throws IOException
IOExceptionpublic ExoCache createCache(ExoCacheConfig config) throws ExoCacheInitException
createCache in interface ExoCacheFactoryExoCacheInitExceptionCopyright © 2021 eXo Platform SAS. All Rights Reserved.