|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.common.component.AbstractComponent
org.elasticsearch.env.NodeEnvironment
public class NodeEnvironment
Field Summary |
---|
Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
componentSettings, logger, settings |
Constructor Summary | |
---|---|
NodeEnvironment(Settings settings,
Environment environment)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNodeFile()
|
java.io.File |
indexLocation(Index index)
|
int |
localNodeId()
|
java.io.File |
nodeDataLocation()
|
java.io.File |
shardLocation(ShardId shardId)
|
Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
nodeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public NodeEnvironment(Settings settings, Environment environment) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int localNodeId()
public boolean hasNodeFile()
public java.io.File nodeDataLocation()
public java.io.File indexLocation(Index index)
public java.io.File shardLocation(ShardId shardId)
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |