com.googlecode.hibernate.memcached
Class Config

java.lang.Object
  extended by com.googlecode.hibernate.memcached.Config

public class Config
extends Object

DOCUMENT ME!

Author:
Ray Krueger

Field Summary
static int DEFAULT_CACHE_TIME_SECONDS
           
static boolean DEFAULT_CLEAR_SUPPORTED
           
static boolean DEFAULT_DOGPILE_PREVENTION
           
static String DEFAULT_MEMCACHE_CLIENT_FACTORY
           
static String PROP_CACHE_TIME_SECONDS
           
static String PROP_CLEAR_SUPPORTED
           
static String PROP_DOGPILE_PREVENTION
           
static String PROP_DOGPILE_PREVENTION_EXPIRATION_FACTOR
           
static String PROP_MEMCACHE_CLIENT_FACTORY
           
static String PROP_PREFIX
           
 
Constructor Summary
Config(PropertiesHelper props)
           
 
Method Summary
 int getCacheTimeSeconds(String cacheRegion)
           
 double getDogpilePreventionExpirationFactor(String cacheRegion)
           
 String getKeyStrategyName(String cacheRegion)
           
 String getMemcachedClientFactoryName()
           
 PropertiesHelper getPropertiesHelper()
           
 boolean isClearSupported(String cacheRegion)
           
 boolean isDogpilePreventionEnabled(String cacheRegion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_PREFIX

public static final String PROP_PREFIX
See Also:
Constant Field Values

PROP_CACHE_TIME_SECONDS

public static final String PROP_CACHE_TIME_SECONDS
See Also:
Constant Field Values

PROP_CLEAR_SUPPORTED

public static final String PROP_CLEAR_SUPPORTED
See Also:
Constant Field Values

PROP_MEMCACHE_CLIENT_FACTORY

public static final String PROP_MEMCACHE_CLIENT_FACTORY
See Also:
Constant Field Values

PROP_DOGPILE_PREVENTION

public static final String PROP_DOGPILE_PREVENTION
See Also:
Constant Field Values

PROP_DOGPILE_PREVENTION_EXPIRATION_FACTOR

public static final String PROP_DOGPILE_PREVENTION_EXPIRATION_FACTOR
See Also:
Constant Field Values

DEFAULT_CACHE_TIME_SECONDS

public static final int DEFAULT_CACHE_TIME_SECONDS
See Also:
Constant Field Values

DEFAULT_CLEAR_SUPPORTED

public static final boolean DEFAULT_CLEAR_SUPPORTED
See Also:
Constant Field Values

DEFAULT_DOGPILE_PREVENTION

public static final boolean DEFAULT_DOGPILE_PREVENTION
See Also:
Constant Field Values

DEFAULT_MEMCACHE_CLIENT_FACTORY

public static final String DEFAULT_MEMCACHE_CLIENT_FACTORY
See Also:
Constant Field Values
Constructor Detail

Config

public Config(PropertiesHelper props)
Method Detail

getCacheTimeSeconds

public int getCacheTimeSeconds(String cacheRegion)

getKeyStrategyName

public String getKeyStrategyName(String cacheRegion)

isClearSupported

public boolean isClearSupported(String cacheRegion)

isDogpilePreventionEnabled

public boolean isDogpilePreventionEnabled(String cacheRegion)

getDogpilePreventionExpirationFactor

public double getDogpilePreventionExpirationFactor(String cacheRegion)

getMemcachedClientFactoryName

public String getMemcachedClientFactoryName()

getPropertiesHelper

public PropertiesHelper getPropertiesHelper()


Copyright © 2015. All rights reserved.