org.elasticsearch.gateway.none
Class NoneGateway

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

public class NoneGateway
extends AbstractLifecycleComponent<Gateway>
implements Gateway


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.gateway.Gateway
Gateway.GatewayStateRecoveredListener
 
Field Summary
static String TYPE
           
 
Fields inherited from class org.elasticsearch.common.component.AbstractLifecycleComponent
lifecycle
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
NoneGateway(Settings settings)
           
 
Method Summary
protected  void doClose()
           
protected  void doStart()
           
protected  void doStop()
           
 void performStateRecovery(Gateway.GatewayStateRecoveredListener listener)
           
 void reset()
           
 Class<? extends Module> suggestIndexGateway()
           
 String toString()
           
 String type()
           
 
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
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

NoneGateway

@Inject
public NoneGateway(Settings settings)
Method Detail

type

public String type()
Specified by:
type in interface Gateway

toString

public String toString()
Overrides:
toString in class Object

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

performStateRecovery

public void performStateRecovery(Gateway.GatewayStateRecoveredListener listener)
                          throws GatewayException
Specified by:
performStateRecovery in interface Gateway
Throws:
GatewayException

suggestIndexGateway

public Class<? extends Module> suggestIndexGateway()
Specified by:
suggestIndexGateway in interface Gateway

reset

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


Copyright © 2009-2012. All Rights Reserved.