public class NoneGateway extends AbstractLifecycleComponent<Gateway> implements Gateway
Gateway.GatewayStateRecoveredListener| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
lifecyclecomponentSettings, 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, stopnodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclosepublic static final String TYPE
@Inject public NoneGateway(Settings settings, ClusterName clusterName)
protected void doStart()
throws ElasticsearchException
doStart in class AbstractLifecycleComponent<Gateway>ElasticsearchExceptionprotected void doStop()
throws ElasticsearchException
doStop in class AbstractLifecycleComponent<Gateway>ElasticsearchExceptionprotected void doClose()
throws ElasticsearchException
doClose in class AbstractLifecycleComponent<Gateway>ElasticsearchExceptionpublic void performStateRecovery(Gateway.GatewayStateRecoveredListener listener) throws GatewayException
performStateRecovery in interface GatewayGatewayExceptionpublic Class<? extends Module> suggestIndexGateway()
suggestIndexGateway in interface GatewayCopyright © 2009–2016. All rights reserved.