public class NoneGateway extends AbstractLifecycleComponent<Gateway> implements Gateway
Gateway.GatewayStateRecoveredListener
Modifier and Type | Field and Description |
---|---|
static String |
TYPE |
lifecycle
componentSettings, logger, settings
Constructor and Description |
---|
NoneGateway(Settings settings,
ClusterName clusterName) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
void |
performStateRecovery(Gateway.GatewayStateRecoveredListener listener) |
void |
reset() |
Class<? extends Module> |
suggestIndexGateway() |
String |
toString() |
String |
type() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
close
public static final String TYPE
@Inject public NoneGateway(Settings settings, ClusterName clusterName)
protected void doStart() throws ElasticsearchException
doStart
in class AbstractLifecycleComponent<Gateway>
ElasticsearchException
protected void doStop() throws ElasticsearchException
doStop
in class AbstractLifecycleComponent<Gateway>
ElasticsearchException
protected void doClose() throws ElasticsearchException
doClose
in class AbstractLifecycleComponent<Gateway>
ElasticsearchException
public void performStateRecovery(Gateway.GatewayStateRecoveredListener listener) throws GatewayException
performStateRecovery
in interface Gateway
GatewayException
public Class<? extends Module> suggestIndexGateway()
suggestIndexGateway
in interface Gateway
Copyright © 2009–2015. All rights reserved.