|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.config.TerracottaConfiguration
public class TerracottaConfiguration
Class to hold the Terracotta configuration - either a pointer to the real config or a container for embedded config.
Nested Class Summary | |
---|---|
static class |
TerracottaConfiguration.ValueMode
Represents whether values are stored with serialization in the clustered store or through Terracotta clustered identity. |
Constructor Summary | |
---|---|
TerracottaConfiguration()
|
Method Summary | |
---|---|
TerracottaConfiguration |
clone()
Clones this object, following the usual contract. |
boolean |
getCoherentReads()
Check whether coherent reads are enabled |
TerracottaConfiguration.ValueMode |
getValueMode()
Get the value mode in terms of the mode enum |
boolean |
isClustered()
Check whether clustering is enabled |
void |
setClustered(boolean clustered)
Used by BeanHandler to set the clustered flag during parsing |
void |
setCoherentReads(boolean coherentReads)
Used by BeanHandler to set the coherentReads flag during parsing |
void |
setValueMode(java.lang.String valueMode)
Used by BeanHandler to set the mode during parsing. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TerracottaConfiguration()
Method Detail |
---|
public TerracottaConfiguration clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void setClustered(boolean clustered)
public boolean isClustered()
public void setCoherentReads(boolean coherentReads)
public boolean getCoherentReads()
public void setValueMode(java.lang.String valueMode)
public TerracottaConfiguration.ValueMode getValueMode()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |