org.elasticsearch.gateway.hdfs
Class HdfsGateway
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.common.component.AbstractLifecycleComponent<org.elasticsearch.gateway.Gateway>
org.elasticsearch.gateway.shared.SharedStorageGateway
org.elasticsearch.gateway.blobstore.BlobStoreGateway
org.elasticsearch.gateway.hdfs.HdfsGateway
- All Implemented Interfaces:
- org.elasticsearch.cluster.ClusterStateListener, org.elasticsearch.common.component.CloseableComponent, org.elasticsearch.common.component.LifecycleComponent<org.elasticsearch.gateway.Gateway>, org.elasticsearch.gateway.Gateway
public class HdfsGateway
- extends org.elasticsearch.gateway.blobstore.BlobStoreGateway
Nested classes/interfaces inherited from interface org.elasticsearch.gateway.Gateway |
org.elasticsearch.gateway.Gateway.GatewayStateRecoveredListener |
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent |
lifecycle |
Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
componentSettings, logger, settings |
Constructor Summary |
HdfsGateway(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.cluster.ClusterService clusterService,
org.elasticsearch.cluster.metadata.MetaDataCreateIndexService createIndexService,
org.elasticsearch.cluster.ClusterName clusterName,
org.elasticsearch.threadpool.ThreadPool threadPool)
|
Method Summary |
protected void |
doClose()
|
java.lang.Class<? extends org.elasticsearch.common.inject.Module> |
suggestIndexGateway()
|
java.lang.String |
type()
|
Methods inherited from class org.elasticsearch.gateway.blobstore.BlobStoreGateway |
basePath, blobStore, chunkSize, findCommitPoint, initialize, read, reset, toString, write |
Methods inherited from class org.elasticsearch.gateway.shared.SharedStorageGateway |
clusterChanged, doStart, doStop, performStateRecovery |
Methods inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop |
Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
nodeName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.elasticsearch.common.component.LifecycleComponent |
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop |
Methods inherited from interface org.elasticsearch.common.component.CloseableComponent |
close |
HdfsGateway
@Inject
public HdfsGateway(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.cluster.ClusterService clusterService,
org.elasticsearch.cluster.metadata.MetaDataCreateIndexService createIndexService,
org.elasticsearch.cluster.ClusterName clusterName,
org.elasticsearch.threadpool.ThreadPool threadPool)
throws java.io.IOException
- Throws:
java.io.IOException
type
public java.lang.String type()
suggestIndexGateway
public java.lang.Class<? extends org.elasticsearch.common.inject.Module> suggestIndexGateway()
doClose
protected void doClose()
throws org.elasticsearch.ElasticSearchException
- Overrides:
doClose
in class org.elasticsearch.gateway.shared.SharedStorageGateway
- Throws:
org.elasticsearch.ElasticSearchException