org.elasticsearch.gateway.fs
Class FsGateway

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.common.component.AbstractLifecycleComponent<Gateway>
          extended by org.elasticsearch.gateway.shared.SharedStorageGateway
              extended by org.elasticsearch.gateway.blobstore.BlobStoreGateway
                  extended by org.elasticsearch.gateway.fs.FsGateway
All Implemented Interfaces:
ClusterStateListener, CloseableComponent, LifecycleComponent<Gateway>, Gateway

public class FsGateway
extends BlobStoreGateway


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.gateway.Gateway
Gateway.GatewayStateRecoveredListener
 
Field Summary
 
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
lifecycle
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
FsGateway(Settings settings, ThreadPool threadPool, ClusterService clusterService, Environment environment, ClusterName clusterName)
           
 
Method Summary
protected  void doClose()
           
 Class<? extends Module> suggestIndexGateway()
           
 String type()
           
 
Methods inherited from class org.elasticsearch.gateway.blobstore.BlobStoreGateway
basePath, blobStore, chunkSize, delete, findCommitPoint, initialize, read, reset, toString, write
 
Methods inherited from class org.elasticsearch.gateway.shared.SharedStorageGateway
clusterChanged, doStart, doStop, performStateRecovery, setNodeEnv
 
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
 

Constructor Detail

FsGateway

@Inject
public FsGateway(Settings settings,
                        ThreadPool threadPool,
                        ClusterService clusterService,
                        Environment environment,
                        ClusterName clusterName)
          throws IOException
Throws:
IOException
Method Detail

type

public String type()

suggestIndexGateway

public Class<? extends Module> suggestIndexGateway()

doClose

protected void doClose()
                throws ElasticSearchException
Overrides:
doClose in class SharedStorageGateway
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.