| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.config.DiskStoreConfiguration
public final class DiskStoreConfiguration
A class to represent DiskStore configuration
 e.g. 
| Constructor Summary | |
|---|---|
DiskStoreConfiguration()
 | 
|
| Method Summary | |
|---|---|
static String | 
getDefaultPath()
The diskStore default path, which is the system environment variable available on all Java virtual machines java.io.tmpdir | 
 String | 
getOriginalPath()
 | 
 String | 
getPath()
The diskStore path  | 
 DiskStoreConfiguration | 
path(String path)
Builder method to set the disk store path, see setPath(String) | 
 void | 
setPath(String path)
Translates and sets the path.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DiskStoreConfiguration()
| Method Detail | 
|---|
public final String getPath()
public static String getDefaultPath()
java.io.tmpdir
public final DiskStoreConfiguration path(String path)
setPath(String)
public final void setPath(String path)
Two forms of path substitution are supported:
java.io.tmpdir/ehcache/java.io.tmpdir →
 /var/tmp/ehcache/java.io.tmpdir).
 user.home - the user's home directoryuser.dir - the current working directoryjava.io.tmpdir - the default temp file pathehcache.disk.store.dir - a system property you would normally specify on the command line, e.g.
 java -Dehcache.disk.store.dir=/u01/myapp/diskdir${property-name}. Using
 this syntax all token instances are replaced (e.g. ${java.io.tmpdir}/ehcache/${java.io.tmpdir} →
 /var/tmp/ehcache/var/tmp).
path - disk store pathpublic String getOriginalPath()
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||