eXo Kernel :: Cache Extension :: Memcached Implementation 2.5.0-GA

org.exoplatform.services.cache.impl.memcached
Class ExoCacheFactoryImpl

java.lang.Object
  extended by org.exoplatform.services.cache.impl.memcached.ExoCacheFactoryImpl
All Implemented Interfaces:
ExoCacheFactory, Startable

public class ExoCacheFactoryImpl
extends Object
implements ExoCacheFactory, Startable

This class is the Memcached implementation of the ExoCacheFactory

Version:
$Id$
Author:
Nicolas Filotto

Field Summary
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 Summary
ExoCacheFactoryImpl(ExoContainerContext ctx, InitParams params)
          The default constructor
 
Method Summary
 ExoCache createCache(ExoCacheConfig config)
          
 void start()
          
 void stop()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTION_FACTORY_CREATOR

public static final String CONNECTION_FACTORY_CREATOR
The parameter key that defines the ConnectionFactoryCreator

See Also:
Constant Field Values

MEMCACHED_LOCATIONS

public static final String MEMCACHED_LOCATIONS
The parameter key that defines the memcache locations

See Also:
Constant Field Values

DEFAULT_EXPIRATION_TIMEOUT

public static final String DEFAULT_EXPIRATION_TIMEOUT
The parameter key that defines the default expiration timeout

See Also:
Constant Field Values

DEFAULT_EXPIRATION_TIMEOUT_VALUE

public static final long DEFAULT_EXPIRATION_TIMEOUT_VALUE
The default expiration timeout, set to 15 minutes

See Also:
Constant Field Values
Constructor Detail

ExoCacheFactoryImpl

public ExoCacheFactoryImpl(ExoContainerContext ctx,
                           InitParams params)
                    throws IOException
The default constructor

Throws:
IOException
Method Detail

createCache

public ExoCache createCache(ExoCacheConfig config)
                     throws ExoCacheInitException

Specified by:
createCache in interface ExoCacheFactory
Throws:
ExoCacheInitException

start

public void start()

Specified by:
start in interface Startable

stop

public void stop()

Specified by:
stop in interface Startable

eXo Kernel :: Cache Extension :: Memcached Implementation 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.