public class GatewayService extends AbstractLifecycleComponent<GatewayService> implements ClusterStateListener
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static TimeValue |
DEFAULT_RECOVER_AFTER_TIME_IF_EXPECTED_NODES_IS_SET |
static ClusterBlock |
STATE_NOT_RECOVERED_BLOCK |
lifecycledeprecationLogger, logger, settings| コンストラクタと説明 |
|---|
GatewayService(Settings settings,
Gateway gateway,
AllocationService allocationService,
ClusterService clusterService,
DiscoveryService discoveryService,
ThreadPool threadPool) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
|
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
TimeValue |
recoverAfterTime() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stoplogDeprecatedSetting, logRemovedSetting, nodeNamepublic static final ClusterBlock STATE_NOT_RECOVERED_BLOCK
public static final TimeValue DEFAULT_RECOVER_AFTER_TIME_IF_EXPECTED_NODES_IS_SET
@Inject public GatewayService(Settings settings, Gateway gateway, AllocationService allocationService, ClusterService clusterService, DiscoveryService discoveryService, ThreadPool threadPool)
protected void doStart()
doStart クラス内 AbstractLifecycleComponent<GatewayService>protected void doStop()
doStop クラス内 AbstractLifecycleComponent<GatewayService>protected void doClose()
doClose クラス内 AbstractLifecycleComponent<GatewayService>public void clusterChanged(ClusterChangedEvent event)
ClusterStateListenerclusterChanged インタフェース内 ClusterStateListenerpublic TimeValue recoverAfterTime()
Copyright © 2009–2016. All rights reserved.