Package org.elasticsearch.index.shard
Class AbstractIndexShardComponent
- java.lang.Object
-
- org.elasticsearch.index.shard.AbstractIndexShardComponent
-
- All Implemented Interfaces:
IndexShardComponent
- Direct Known Subclasses:
DirectoryService,IndexShard,ReplicationTracker,ShardBitsetFilterCache,ShardGetService,ShardIndexWarmerService,Store,Translog
public abstract class AbstractIndexShardComponent extends java.lang.Object implements IndexShardComponent
-
-
Field Summary
Fields Modifier and Type Field Description protected DeprecationLoggerdeprecationLoggerprotected IndexSettingsindexSettingsprotected org.apache.logging.log4j.Loggerloggerprotected ShardIdshardId
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractIndexShardComponent(ShardId shardId, IndexSettings indexSettings)
-
Method Summary
Modifier and Type Method Description IndexSettingsindexSettings()java.lang.StringnodeName()ShardIdshardId()
-
-
-
Field Detail
-
logger
protected final org.apache.logging.log4j.Logger logger
-
deprecationLogger
protected final DeprecationLogger deprecationLogger
-
shardId
protected final ShardId shardId
-
indexSettings
protected final IndexSettings indexSettings
-
-
Constructor Detail
-
AbstractIndexShardComponent
protected AbstractIndexShardComponent(ShardId shardId, IndexSettings indexSettings)
-
-
Method Detail
-
shardId
public ShardId shardId()
- Specified by:
shardIdin interfaceIndexShardComponent
-
indexSettings
public IndexSettings indexSettings()
- Specified by:
indexSettingsin interfaceIndexShardComponent
-
nodeName
public java.lang.String nodeName()
-
-