org.elasticsearch.gateway.none
Class NoneGateway

java.lang.Object
  extended by org.elasticsearch.util.component.AbstractComponent
      extended by org.elasticsearch.util.component.AbstractLifecycleComponent<Gateway>
          extended by org.elasticsearch.gateway.none.NoneGateway
All Implemented Interfaces:
Gateway, CloseableComponent, LifecycleComponent<Gateway>

public class NoneGateway
extends AbstractLifecycleComponent<Gateway>
implements Gateway


Field Summary
 
Fields inherited from class org.elasticsearch.util.component.AbstractLifecycleComponent
lifecycle
 
Fields inherited from class org.elasticsearch.util.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
NoneGateway(Settings settings)
           
 
Method Summary
protected  void doClose()
           
protected  void doStart()
           
protected  void doStop()
           
 MetaData read()
           
 void reset()
           
 java.lang.Class<? extends com.google.inject.Module> suggestIndexGateway()
           
 void write(MetaData metaData)
           
 
Methods inherited from class org.elasticsearch.util.component.AbstractLifecycleComponent
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
 
Methods inherited from class org.elasticsearch.util.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.util.component.LifecycleComponent
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
 
Methods inherited from interface org.elasticsearch.util.component.CloseableComponent
close
 

Constructor Detail

NoneGateway

@Inject
public NoneGateway(Settings settings)
Method Detail

doStart

protected void doStart()
                throws ElasticSearchException
Specified by:
doStart in class AbstractLifecycleComponent<Gateway>
Throws:
ElasticSearchException

doStop

protected void doStop()
               throws ElasticSearchException
Specified by:
doStop in class AbstractLifecycleComponent<Gateway>
Throws:
ElasticSearchException

doClose

protected void doClose()
                throws ElasticSearchException
Specified by:
doClose in class AbstractLifecycleComponent<Gateway>
Throws:
ElasticSearchException

write

public void write(MetaData metaData)
           throws GatewayException
Specified by:
write in interface Gateway
Throws:
GatewayException

read

public MetaData read()
              throws GatewayException
Specified by:
read in interface Gateway
Throws:
GatewayException

suggestIndexGateway

public java.lang.Class<? extends com.google.inject.Module> suggestIndexGateway()
Specified by:
suggestIndexGateway in interface Gateway

reset

public void reset()
Specified by:
reset in interface Gateway