org.elasticsearch.gateway.none
Class NoneGateway
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.common.component.AbstractLifecycleComponent<Gateway>
org.elasticsearch.gateway.none.NoneGateway
- All Implemented Interfaces:
- CloseableComponent, LifecycleComponent<Gateway>, Gateway
public class NoneGateway
- extends AbstractLifecycleComponent<Gateway>
- implements Gateway
Field Summary |
static java.lang.String |
TYPE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
NoneGateway
@Inject
public NoneGateway(Settings settings)
type
public java.lang.String type()
- Specified by:
type
in interface Gateway
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.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 java.lang.Class<? extends Module> suggestIndexGateway()
- Specified by:
suggestIndexGateway
in interface Gateway
reset
public void reset()
- Specified by:
reset
in interface Gateway