org.exoplatform.services.cache
Class ExoCacheConfig
java.lang.Object
org.exoplatform.services.cache.ExoCacheConfig
- All Implemented Interfaces:
- Cloneable
public class ExoCacheConfig
- extends Object
- implements Cloneable
This class defines the main configuration properties of an ExoCache
- Since:
- Feb 20, 2005
- Version:
- $Id: ExoCacheConfig.java 5799 2006-05-28 17:55:42Z geaz $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
|
Field Summary |
boolean |
avoidValueReplication
Indicates whether or not the replication of the values should be avoided |
avoidValueReplication
public boolean avoidValueReplication
- Indicates whether or not the replication of the values should be avoided
ExoCacheConfig
public ExoCacheConfig()
getName
public String getName()
setName
public void setName(String s)
getLabel
public String getLabel()
setLabel
public void setLabel(String s)
getMaxSize
public int getMaxSize()
setMaxSize
public void setMaxSize(int size)
getLiveTime
public long getLiveTime()
setLiveTime
public void setLiveTime(long period)
isDistributed
public boolean isDistributed()
setDistributed
public void setDistributed(boolean b)
isRepicated
public boolean isRepicated()
setReplicated
public void setReplicated(boolean b)
getImplementation
public String getImplementation()
setImplementation
public void setImplementation(String alg)
isLogEnabled
public boolean isLogEnabled()
setLogEnabled
public void setLogEnabled(boolean enableLogging)
avoidValueReplication
public boolean avoidValueReplication()
- Returns:
- the avoidValueReplication
setAvoidValueReplication
public void setAvoidValueReplication(boolean avoidValueReplication)
- Parameters:
avoidValueReplication - the avoidValueReplication to set
clone
public ExoCacheConfig clone()
throws CloneNotSupportedException
- Overrides:
clone in class Object
- Throws:
CloneNotSupportedException- See Also:
Object.clone()
Copyright © 2012 eXo Platform SAS. All Rights Reserved.