eXo Kernel :: Component :: Cache Service 2.4.0-CR2

org.exoplatform.services.cache
Class ExoCacheConfig

java.lang.Object
  extended by 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
 
Constructor Summary
ExoCacheConfig()
           
 
Method Summary
 boolean avoidValueReplication()
           
 ExoCacheConfig clone()
           
 String getImplementation()
           
 String getLabel()
           
 long getLiveTime()
           
 int getMaxSize()
           
 String getName()
           
 boolean isDistributed()
           
 boolean isLogEnabled()
           
 boolean isRepicated()
           
 void setAvoidValueReplication(boolean avoidValueReplication)
           
 void setDistributed(boolean b)
           
 void setImplementation(String alg)
           
 void setLabel(String s)
           
 void setLiveTime(long period)
           
 void setLogEnabled(boolean enableLogging)
           
 void setMaxSize(int size)
           
 void setName(String s)
           
 void setReplicated(boolean b)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

avoidValueReplication

public boolean avoidValueReplication
Indicates whether or not the replication of the values should be avoided

Constructor Detail

ExoCacheConfig

public ExoCacheConfig()
Method Detail

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()

eXo Kernel :: Component :: Cache Service 2.4.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.