All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.gateway.GatewayService.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3w*com/groupbyinc/flux/gateway/GatewayService?Lcom/groupbyinc/flux/common/component/AbstractLifecycleComponent;Lcom/groupbyinc/flux/cluster/ClusterStateListener;?com/groupbyinc/flux/common/component/AbstractLifecycleComponent0com/groupbyinc/flux/cluster/ClusterStateListenerGatewayService.javaBcom/groupbyinc/flux/gateway/GatewayService$GatewayRecoveryListener	GatewayRecoveryListener,com/groupbyinc/flux/gateway/GatewayService$2,com/groupbyinc/flux/gateway/GatewayService$1Acom/groupbyinc/flux/gateway/Gateway$GatewayStateRecoveredListener#com/groupbyinc/flux/gateway/GatewayGatewayStateRecoveredListener/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPoolNamesSTATE_NOT_RECOVERED_BLOCK0Lcom/groupbyinc/flux/cluster/block/ClusterBlock;3DEFAULT_RECOVER_AFTER_TIME_IF_EXPECTED_NODES_IS_SET+Lcom/groupbyinc/flux/common/unit/TimeValue;gateway%Lcom/groupbyinc/flux/gateway/Gateway;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;allocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;clusterService,Lcom/groupbyinc/flux/cluster/ClusterService;discoveryService0Lcom/groupbyinc/flux/discovery/DiscoveryService;recoverAfterTimerecoverAfterNodesI
expectedNodesrecoverAfterDataNodesexpectedDataNodesrecoverAfterMasterNodesexpectedMasterNodes	recovered+Ljava/util/concurrent/atomic/AtomicBoolean;scheduledRecovery(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/gateway/Gateway;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/discovery/DiscoveryService;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V36
7)java/util/concurrent/atomic/AtomicBoolean9()V3;
:<01	>21	@	B"#	D$%	F&'	H !	Jsettings.Lcom/groupbyinc/flux/common/settings/Settings;LM	Ngateway.expected_nodesPjava/lang/IntegerRvalueOf(I)Ljava/lang/Integer;TU
SV,com/groupbyinc/flux/common/settings/SettingsXgetAsInt:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;Z[
Y\intValue()I^_
S`+*	bgateway.expected_data_nodesd-*	fgateway.expected_master_nodesh/*	j@com/groupbyinc/flux/cluster/routing/allocation/AllocationServicel*com/groupbyinc/flux/cluster/ClusterServicen.com/groupbyinc/flux/discovery/DiscoveryServicep)com/groupbyinc/flux/common/unit/TimeValuer	tgateway.recover_after_timev	getAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;xy
Yz(	|gateway.recover_after_nodes~)*	? gateway.recover_after_data_nodes?,*	?"gateway.recover_after_master_nodes?"discovery.zen.minimum_master_nodes?.*	?	?addInitialStateBlock3(Lcom/groupbyinc/flux/cluster/block/ClusterBlock;)V??o?this,Lcom/groupbyinc/flux/gateway/GatewayService;defaultRecoverAfterTimedoStartaddLast5(Lcom/groupbyinc/flux/cluster/ClusterStateListener;)V??o?doStopremove??o?doCloseclusterChanged4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V	lifecycle0Lcom/groupbyinc/flux/common/component/Lifecycle;??	?.com/groupbyinc/flux/common/component/Lifecycle?stoppedOrClosed()Z??
??/com/groupbyinc/flux/cluster/ClusterChangedEvent?state,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??(com/groupbyinc/flux/cluster/ClusterState?nodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;??
??/com/groupbyinc/flux/cluster/node/DiscoveryNodes?localNodeMaster??
??blocks3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks;??
??/com/groupbyinc/flux/cluster/block/ClusterBlocks?hasGlobalBlock3(Lcom/groupbyinc/flux/cluster/block/ClusterBlock;)Z??
??getNoMasterBlock2()Lcom/groupbyinc/flux/cluster/block/ClusterBlock;??
q?logger-Lcom/groupbyinc/flux/common/logging/ESLogger;??	?2not recovering from gateway, no master elected yet?java/lang/Object?+com/groupbyinc/flux/common/logging/ESLogger?debug((Ljava/lang/String;[Ljava/lang/Object;)V????masterAndDataNodes7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;??
??3com/groupbyinc/flux/common/collect/ImmutableOpenMap?size?_
??java/lang/StringBuilder?
?<7not recovering from gateway, nodes_size (data+master) [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(I)Ljava/lang/StringBuilder;??
??] < recover_after_nodes [?]?toString()Ljava/lang/String;??
??	dataNodes??
??0not recovering from gateway, nodes_size (data) [?] < recover_after_data_nodes [?masterNodes??
??2not recovering from gateway, nodes_size (master) [? ] < recover_after_master_nodes [recover_after_time was set to [-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?
?expecting [
] nodes, but only have [java/lang/String] data nodes, but only have [] master nodes, but only have [performStateRecovery(ZLjava/lang/String;)V
enforceRecoverAfterTimeZreasonLjava/lang/String;event1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;*Lcom/groupbyinc/flux/cluster/ClusterState;1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;/(Lcom/groupbyinc/flux/gateway/GatewayService;)V3 

!
compareAndSet(ZZ)Z#$
:%,delaying initial state recovery for [{}]. {}'info)??*generic,r(Lcom/groupbyinc/flux/gateway/GatewayService;Lcom/groupbyinc/flux/gateway/Gateway$GatewayStateRecoveredListener;)V3.
/scheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;12
3!()Ljava/util/concurrent/Executor;,5
6

/java/util/concurrent/Executor9execute(Ljava/lang/Runnable;)V;<:=recoveryListenerCLcom/groupbyinc/flux/gateway/Gateway$GatewayStateRecoveredListener;-()Lcom/groupbyinc/flux/common/unit/TimeValue;
access$000Y(Lcom/groupbyinc/flux/gateway/GatewayService;)Ljava/util/concurrent/atomic/AtomicBoolean;x0
access$100Y(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/common/unit/TimeValue;
access$200[(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/common/logging/ESLogger;
access$300S(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/gateway/Gateway;
access$400
access$500
access$600p(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;
access$700
access$800
access$900Z(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/cluster/ClusterService;access$1000access$1100.com/groupbyinc/flux/cluster/block/ClusterBlockV!state not recovered / initializedX#com/groupbyinc/flux/rest/RestStatusZSERVICE_UNAVAILABLE%Lcom/groupbyinc/flux/rest/RestStatus;\]	[^3com/groupbyinc/flux/cluster/block/ClusterBlockLevel`ALLLjava/util/EnumSet;bc	adP(ILjava/lang/String;ZZLcom/groupbyinc/flux/rest/RestStatus;Ljava/util/EnumSet;)V3f
WgtimeValueMinutes.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;kl
smCodeLocalVariableTableLineNumberTable
StackMapTableRuntimeVisibleAnnotations	Signature
SourceFileInnerClasses! !"#$%&'()*+*,*-*.*/*012134o??*+?8*?:Y?=??*?:Y?=?A*,?C*-?E*?G*?I*?K**?OQ?W?]?a?c**?Oe?W?]?a?g**?Oi?W?]?a?k:*?c?*?g?
*?k??u:**?Ow?{?}**?O?W?]?a??**?O??W?]?a??**?O?+??W?]?]?a??*?G?????pR????LM??"#?$%?&'? !vx?qRQLMR S%T+U1V7XKY_Zs\v]?^?a?b?c?e?h?ir"??Ymoqss5?;o9*?G*???p??q
m
n?;o9*?G*???p??q
r
s?;o+?p??qw??o?k*??????+??M,??????,?????Ś?,??N,??*?I?ɶř*????ѹ??*???K-?۶?*???=*?ͻ?Y????-?۶????*????????ѹ???*???K-????*???=*?ͻ?Y?????-????????*????????ѹ??|*???M-????*????*?ͻ?Y????-???????*????????ѹ??**?c?7*?k?/*?g?'6??Y????*?}????:??6	:*?c?E-?۶?*?c?76??Y????*?c??
??-?۶?????:??*?g?E-????*?g?76??Y????*?g????-????????:?J*?k?B-????*?k?46??Y????*?k????-????????:*??pR^!|????k??k[?.=?q? {
|???(?)?.???Q?g????????C?[?^?????????????????1?4?b?j?r*??
?'??O?O?Q;?Q?I?F?o?x?
Y*?"N?L*?}?E*?A?&?Z*??(??Y*?}SY,S?+*?K*?}-?Y*-?0?4W?$*???&?*?K?7?
Y*-?8?>?p*x??xx	o?@q"?	?? ?;?V?b?w?r	?V (Ao/*?}?p??qBCo/*???pD?q3EFo/*?}?pD?q3GHo/*?ͰpD?q3IJo/*?C?pD?q3KHo/*?ͰpD?q3LHo/*?ͰpD?q3MNo/*?E?pD?q3OHo/*?ͰpD?q3PHo/*?ͰpD?q3QRo/*?G?pD?q3SCo/*?A?pD?q3THo/*?ͰpD?q3U;o< ?WYY?_?e?h??i?n?u?q
57tuv*

		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy