|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.env.Environment
public class Environment
The environment of where things exists.
Constructor Summary | |
---|---|
Environment()
|
|
Environment(Settings settings)
|
Method Summary | |
---|---|
java.io.File |
configFile()
The config location. |
java.io.File |
dataFile()
The data location. |
java.io.File |
dataWithClusterFile()
The data location with the cluster name as a sub directory. |
java.io.File |
homeFile()
The home of the installation. |
java.io.File |
logsFile()
|
java.io.File |
pluginsFile()
|
java.net.URL |
resolveConfig(java.lang.String path)
|
java.lang.String |
resolveConfigAndLoadToString(java.lang.String path)
|
java.io.File |
workFile()
The work location. |
java.io.File |
workWithClusterFile()
The work location with the cluster name as a sub directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Environment()
public Environment(Settings settings)
Method Detail |
---|
public java.io.File homeFile()
public java.io.File workFile()
public java.io.File workWithClusterFile()
public java.io.File dataFile()
public java.io.File dataWithClusterFile()
public java.io.File configFile()
public java.io.File pluginsFile()
public java.io.File logsFile()
public java.lang.String resolveConfigAndLoadToString(java.lang.String path) throws FailedToResolveConfigException, java.io.IOException
FailedToResolveConfigException
java.io.IOException
public java.net.URL resolveConfig(java.lang.String path) throws FailedToResolveConfigException
FailedToResolveConfigException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |