ReadThroughCache.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | GET_KEY
Properties key for the get() proxy attribute |
| private boolean | |
| private String | |
| public static final String | NAME_KEY
Properties key for the name attribute |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ReadThroughCacheConfiguration | |
| private void | |
| public ReadThroughCacheConfiguration | |
| public String | |
| public boolean | |
| public ReadThroughCacheConfiguration | modeGet(boolean
true to proxy get methods modeGet)Set whether get() methods will be transparently proxied. |
| public ReadThroughCacheConfiguration | |
| public void | setModeGet(boolean
true t pxoy the get() methods modeGet)Set whether get() methods will be transparently proxied. |
| public ReadThroughCacheConfiguration | |
| public Properties | |
| public String | |
| private void |
| GET_KEY | back to summary |
|---|---|
| public static final String GET_KEY Properties key for the get() proxy attribute | |
| modeGet | back to summary |
|---|---|
| private boolean modeGet | |
| name | back to summary |
|---|---|
| private String name | |
| NAME_KEY | back to summary |
|---|---|
| public static final String NAME_KEY Properties key for the name attribute | |
| valid | back to summary |
|---|---|
| private volatile boolean valid | |
| ReadThroughCacheConfiguration | back to summary |
|---|---|
| public ReadThroughCacheConfiguration() Create default, valid configuration. | |
| build | back to summary |
|---|---|
| public ReadThroughCacheConfiguration build() Validate this configuration, mark it valid if it passes. | |
| checkValid | back to summary |
|---|---|
| private void checkValid() | |
| fromProperties | back to summary |
|---|---|
| public ReadThroughCacheConfiguration fromProperties(Properties properties) Create a configuration object from a properties object. Validate before returning. | |
| getName | back to summary |
|---|---|
| public String getName() Get the name to set for this cache decorator. May be null.
| |
| isModeGet | back to summary |
|---|---|
| public boolean isModeGet() Return whether the get() method is proxied.
| |
| modeGet | back to summary |
|---|---|
| public ReadThroughCacheConfiguration modeGet(boolean modeGet) Set whether get() methods will be transparently proxied.
| |
| name | back to summary |
|---|---|
| public ReadThroughCacheConfiguration name(String name) Set the name to set for this cache decorator. May be null.
| |
| setModeGet | back to summary |
|---|---|
| public void setModeGet(boolean modeGet) Set whether get() methods will be transparently proxied.
| |
| setName | back to summary |
|---|---|
| public ReadThroughCacheConfiguration setName(String name) Set the name to set for this cache decorator. May be null.
| |
| toProperties | back to summary |
|---|---|
| public Properties toProperties() Return a properties version of this configuration object. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| validate | back to summary |
|---|---|
| private void validate() | |