| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.constructs.readthrough.ReadThroughCacheConfiguration
public class ReadThroughCacheConfiguration
This classed is used to programmatically configure a ReadThroughCache.
| Field Summary | |
|---|---|
| static String | GET_KEYProperties key for the get() proxy attribute | 
| static String | NAME_KEYProperties key for the name attribute | 
| Constructor Summary | |
|---|---|
| ReadThroughCacheConfiguration()Create default, valid configuration. | |
| Method Summary | |
|---|---|
|  ReadThroughCacheConfiguration | build()Validate this configuration, mark it valid if it passes. | 
|  ReadThroughCacheConfiguration | fromProperties(Properties properties)Create a configuration object from a properties object. | 
|  String | getName()Get the name to set for this cache decorator. | 
|  boolean | isModeGet()Return whether the get() method is proxied. | 
|  ReadThroughCacheConfiguration | modeGet(boolean modeGet)Set whether get() methods will be transparently proxied. | 
|  ReadThroughCacheConfiguration | name(String name)Set the name to set for this cache decorator. | 
|  void | setModeGet(boolean modeGet)Set whether get() methods will be transparently proxied. | 
|  ReadThroughCacheConfiguration | setName(String name)Set the name to set for this cache decorator. | 
|  Properties | toProperties()Return a properties version of this configuration object. | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final String NAME_KEY
public static final String GET_KEY
| Constructor Detail | 
|---|
public ReadThroughCacheConfiguration()
| Method Detail | 
|---|
public ReadThroughCacheConfiguration fromProperties(Properties properties)
properties - 
public Properties toProperties()
public ReadThroughCacheConfiguration build()
public ReadThroughCacheConfiguration modeGet(boolean modeGet)
modeGet - true to proxy get methods
public boolean isModeGet()
public void setModeGet(boolean modeGet)
modeGet - true t pxoy the get() methodspublic String getName()
public ReadThroughCacheConfiguration setName(String name)
name - name to use, may be null
public ReadThroughCacheConfiguration name(String name)
name - name to use, may be null
public String toString()
toString in class Object| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||