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

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

????4?*com/groupbyinc/flux/gateway/GatewayService?com/groupbyinc/flux/common/component/AbstractLifecycleComponent0com/groupbyinc/flux/cluster/ClusterStateListenerGatewayService.javaBcom/groupbyinc/flux/gateway/GatewayService$GatewayRecoveryListenerGatewayRecoveryListener,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/ThreadPoolNames4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupEXPECTED_NODES_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;BLcom/groupbyinc/flux/common/settings/Setting;EXPECTED_DATA_NODES_SETTINGEXPECTED_MASTER_NODES_SETTINGRECOVER_AFTER_TIME_SETTINGZLcom/groupbyinc/flux/common/settings/Setting;RECOVER_AFTER_NODES_SETTING RECOVER_AFTER_DATA_NODES_SETTING"RECOVER_AFTER_MASTER_NODES_SETTINGSTATE_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;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;recoverAfterTimerecoverAfterNodesI
expectedNodesrecoverAfterDataNodesexpectedDataNodesrecoverAfterMasterNodesexpectedMasterNodes	recovered+Ljava/util/concurrent/atomic/AtomicBoolean;scheduledRecoveryl(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/gateway/GatewayMetaState;Lcom/groupbyinc/flux/gateway/TransportNodesListGatewayMetaState;Lcom/groupbyinc/flux/indices/IndicesService;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)VBE
F)java/util/concurrent/atomic/AtomicBooleanH()VBJ
IK?@	MA@	O?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/gateway/GatewayMetaState;Lcom/groupbyinc/flux/gateway/TransportNodesListGatewayMetaState;Lcom/groupbyinc/flux/indices/IndicesService;)VBQ
R/0	T34	V56	X12	Z!"	\settings.Lcom/groupbyinc/flux/common/settings/Settings;^_	`getB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;bc
djava/lang/IntegerfintValue()Ihi
gj:9	l$"	n<9	p%"	r>9	t&"	vexists1(Lcom/groupbyinc/flux/common/settings/Settings;)Zxy
z)com/groupbyinc/flux/common/unit/TimeValue|7.	~,com/groupbyinc/flux/common/settings/Settings?@com/groupbyinc/flux/cluster/routing/allocation/AllocationService?2com/groupbyinc/flux/cluster/service/ClusterService?,com/groupbyinc/flux/gateway/GatewayMetaState?>com/groupbyinc/flux/gateway/TransportNodesListGatewayMetaState?*com/groupbyinc/flux/indices/IndicesService?-.	?("	?89	?)"	?;9	?*"	?=9	?"discovery.zen.minimum_master_nodes?valueOf(I)Ljava/lang/Integer;??
g?getAsInt:(Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Integer;??
??this,Lcom/groupbyinc/flux/gateway/GatewayService;	metaState.Lcom/groupbyinc/flux/gateway/GatewayMetaState;listGatewayMetaState@Lcom/groupbyinc/flux/gateway/TransportNodesListGatewayMetaState;indicesService,Lcom/groupbyinc/flux/indices/IndicesService;doStartaddListener5(Lcom/groupbyinc/flux/cluster/ClusterStateListener;)V??
??doStopremoveListener??
??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?isLocalNodeElectedMaster??
??blocks3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks;??
??+,	?/com/groupbyinc/flux/cluster/block/ClusterBlocks?hasGlobalBlock3(Lcom/groupbyinc/flux/cluster/block/ClusterBlock;)Z??
??getMasterNodeId()Ljava/lang/String;??
??logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;??	?2not recovering from gateway, no master elected yet?6com/groupbyinc/flux/common/apache/logging/log4j/Logger?debug(Ljava/lang/String;)V????getMasterAndDataNodes7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;??
??3com/groupbyinc/flux/common/collect/ImmutableOpenMap?size?i
??Unot recovering from gateway, nodes_size (data+master) [{}] < recover_after_nodes [{}]?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V????getDataNodes??
??Snot recovering from gateway, nodes_size (data) [{}] < recover_after_data_nodes [{}]getMasterNodes?
?Wnot recovering from gateway, nodes_size (master) [{}] < recover_after_master_nodes [{}]java/lang/StringBuilder
Krecover_after_time was set to [
append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
]toString?
expecting [(I)Ljava/lang/StringBuilder;
] 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B3
	4
compareAndSet(ZZ)Z67
I8,delaying initial state recovery for [{}]. {}:info<??=generic?"java/lang/invoke/LambdaMetafactoryAmetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;CD
BEFJlambda$performStateRecovery$0F(Lcom/groupbyinc/flux/gateway/Gateway$GatewayStateRecoveredListener;)VIJ
KLrun?(Lcom/groupbyinc/flux/gateway/GatewayService;Lcom/groupbyinc/flux/gateway/Gateway$GatewayStateRecoveredListener;)Ljava/lang/Runnable;NOPscheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;RS
T(()Ljava/util/concurrent/ExecutorService;?V
Wr(Lcom/groupbyinc/flux/gateway/GatewayService;Lcom/groupbyinc/flux/gateway/Gateway$GatewayStateRecoveredListener;)VBY
Z$java/util/concurrent/ExecutorService\execute(Ljava/lang/Runnable;)V^_]`recoveryListenerCLcom/groupbyinc/flux/gateway/Gateway$GatewayStateRecoveredListener;-()Lcom/groupbyinc/flux/common/unit/TimeValue;=recover_after_time [{}] elapsed. performing state recovery...e'(Ljava/lang/String;Ljava/lang/Object;)V<g?h'J
j
access$000f(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;x0
access$100S(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/gateway/Gateway;
access$200
access$300p(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;
access$400
access$500
access$600b(Lcom/groupbyinc/flux/gateway/GatewayService;)Lcom/groupbyinc/flux/cluster/service/ClusterService;
access$700Y(Lcom/groupbyinc/flux/gateway/GatewayService;)Ljava/util/concurrent/atomic/AtomicBoolean;
access$800
access$900gateway.expected_nodes}	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;?	?
intSettingz(Ljava/lang/String;II[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?gateway.expected_data_nodes?gateway.expected_master_nodes?gateway.recover_after_time?timeValueMillis.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
}?positiveTimeSetting?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?gateway.recover_after_nodes? gateway.recover_after_data_nodes?"gateway.recover_after_master_nodes?.com/groupbyinc/flux/cluster/block/ClusterBlock?!state not recovered / initialized?#com/groupbyinc/flux/rest/RestStatus?SERVICE_UNAVAILABLE%Lcom/groupbyinc/flux/rest/RestStatus;??	??3com/groupbyinc/flux/cluster/block/ClusterBlockLevel?ALLLjava/util/EnumSet;??	??Q(ILjava/lang/String;ZZZLcom/groupbyinc/flux/rest/RestStatus;Ljava/util/EnumSet;)VB?
??timeValueMinutes??
}?	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableRuntimeVisibleAnnotationsBootstrapMethods
SourceFileInnerClasses!!"?#$"?#%"?#&"?'("?#)"?#*"?#+,-./01234567.89:9;9<9=9>9?@A@BC?*+?G*?IY?L?N*?IY?L?P*?Y+-?S?U*,?W*-?Y*?[*?]*?a?e?g?k?m*?o*?a?e?g?k?q*?s*?a?e?g?k?u?w*?a?{?*?w*?a?e?}??'*?m?*?q?
*?u?
*????*?*??*?a?e?g?k??*??*?a?e?g?k????*?a?{?*??*?a?e?g?k???*+??????k????R??^_345612???????VaYZb.d3e8f>hRifjzl?m?n?o?q?s?t?v?wz|?(????????	?K?D?J?7	*?Y*????	???
???J?7	*?Y*????	???
???J?+?????????A*??????+??M,?ͶҚ?,?ֲضޚ?,??N,?Ͷ??*??????*???0-???*???"*???-?????*????????*???1-????*???#*??-??????*???????d*???1-???*???#*??-?????*???????.*?m?8*?u?0*?q?(6?Y?	?*????:??6:*?m?F-???*?m?86?Y?	?*?m? ?-??????:??*?q?F-????*?q?86?Y?	?*?q?$?-???????:?K*?u?C-???*?u?56?Y?	?*?u?&?-??????:*?*??R"+,!-.'?+,,?-.??/0?1.??2??&?
?????(?)?.?8?F?\?c?s?{????????????????????$?'?,?B?E?w???????????
???$??
??455*?[*?@*-?Q?UW?$*?N?9?*?[?X?Y*-?[?a??*l??l+,l-.	cbc?"?	?? ?1?J?V?k??	?J 7d?/*??????3IJ?n%*?N?9?*??f*??i*?U+?k??%??%bc????$??$lm?/*???n??3op?/*?U??n??3qm?/*???n??3rs?/*?W??n??3tm?/*???n??3um?/*???n??3vw?/*?Y??n??3xy?/*?N??n??3zy?/*?P??n??3{m?/*???n??3|J?
	?~?Y??S???]??Y??S???o??Y??S???s?	???Y??S???w??Y??S??????Y??S??????Y??S??????Y????????????????B567$8*99:?;C<V=e>k?z@?A?B?D?F?GHMH??2	
		@ 




© 2015 - 2025 Weber Informatics LLC | Privacy Policy