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

com.groupbyinc.flux.node.Node.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3>com/groupbyinc/flux/node/Nodejava/lang/Object+com/groupbyinc/flux/common/lease/Releasable	Node.java"com/groupbyinc/flux/Version$Modulecom/groupbyinc/flux/Version
Module4com/groupbyinc/flux/common/settings/Settings$Builder
,com/groupbyinc/flux/common/settings/SettingsBuilderCLIENT_TYPELjava/lang/String;nodeHTTP_ENABLEDhttp.enabled	lifecycle0Lcom/groupbyinc/flux/common/component/Lifecycle;injector,Lcom/groupbyinc/flux/common/inject/Injector;settings.Lcom/groupbyinc/flux/common/settings/Settings;environment%Lcom/groupbyinc/flux/env/Environment;pluginsService,Lcom/groupbyinc/flux/plugins/PluginsService;client#Lcom/groupbyinc/flux/client/Client;1(Lcom/groupbyinc/flux/common/settings/Settings;)V:com/groupbyinc/flux/node/internal/InternalSettingsPreparer'prepareEnvironment~(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/cli/Terminal;)Lcom/groupbyinc/flux/env/Environment;)*
(+CURRENTLcom/groupbyinc/flux/Version;-.	/java/util/Collections1	emptyList()Ljava/util/List;34
25[(Lcom/groupbyinc/flux/env/Environment;Lcom/groupbyinc/flux/Version;Ljava/util/Collection;)V%7
8thisLcom/groupbyinc/flux/node/Node;preparedSettingsjava/io/IOException=()V%?
@.com/groupbyinc/flux/common/component/LifecycleB
C@	EsettingsBuilder8()Lcom/groupbyinc/flux/common/settings/Settings$Builder;GH
I#com/groupbyinc/flux/env/EnvironmentK0()Lcom/groupbyinc/flux/common/settings/Settings;M
LNputf(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;PQ
Rclient.typeT\(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;PV
WbuildYM
Z&com/groupbyinc/flux/tribe/TribeService\processSettings^(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings;^_
]`java/lang/Stringbnamedget&(Ljava/lang/String;)Ljava/lang/String;fg
h*com/groupbyinc/flux/common/logging/Loggersj	getLoggerS(Ljava/lang/Class;[Ljava/lang/String;)Lcom/groupbyinc/flux/common/logging/ESLogger;lm
kn"version[{}], pid[{}], build[{}/{}]p'com/groupbyinc/flux/monitor/jvm/JvmInforjvmInfo+()Lcom/groupbyinc/flux/monitor/jvm/JvmInfo;tu
svpid()Jxy
szjava/lang/Long|valueOf(J)Ljava/lang/Long;~
}?com/groupbyinc/flux/Build?Lcom/groupbyinc/flux/Build;-?	??	hashShort()Ljava/lang/String;??
??	timestamp??
??+com/groupbyinc/flux/common/logging/ESLogger?info((Ljava/lang/String;[Ljava/lang/Object;)V????initializing ...?isDebugEnabled()Z????5using config [{}], data [{}], logs [{}], plugins [{}]?
configFile()Ljava/nio/file/Path;??
L?	dataFiles()[Ljava/nio/file/Path;??
L?java/util/Arrays?toString'([Ljava/lang/Object;)Ljava/lang/String;??
??logsFile??
L?pluginsFile??
L?debug????java/util/Collection?*com/groupbyinc/flux/plugins/PluginsService?modulesFile??
L?o(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/Collection;)V%?
??!"	?updatedSettings?M
??	?
N%&
L? 	?'com/groupbyinc/flux/env/NodeEnvironment?V(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/env/Environment;)V%?
??java/lang/IllegalStateException?"Failed to created node environment?*(Ljava/lang/String;Ljava/lang/Throwable;)V%?
??)com/groupbyinc/flux/threadpool/ThreadPool?
??;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistry?
?@0com/groupbyinc/flux/common/inject/ModulesBuilder?
?@(com/groupbyinc/flux/common/inject/Module? (Lcom/groupbyinc/flux/Version;)V%?
	?add_([Lcom/groupbyinc/flux/common/inject/Module;)Lcom/groupbyinc/flux/common/inject/ModulesBuilder;??
??8com/groupbyinc/flux/indices/breaker/CircuitBreakerModule?
??nodeModules()Ljava/util/Collection;??
??iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext????next()Ljava/lang/Object;????)com/groupbyinc/flux/plugins/PluginsModule?/(Lcom/groupbyinc/flux/plugins/PluginsService;)V%?
??2com/groupbyinc/flux/common/settings/SettingsModule
?#com/groupbyinc/flux/node/NodeModule"(Lcom/groupbyinc/flux/node/Node;)V%
0com/groupbyinc/flux/common/network/NetworkModule@(Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;)V%

	'com/groupbyinc/flux/script/ScriptModule
?)com/groupbyinc/flux/env/EnvironmentModule((Lcom/groupbyinc/flux/env/Environment;)V%
-com/groupbyinc/flux/env/NodeEnvironmentModule,(Lcom/groupbyinc/flux/env/NodeEnvironment;)V%
-com/groupbyinc/flux/cluster/ClusterNameModule
?/com/groupbyinc/flux/threadpool/ThreadPoolModule.(Lcom/groupbyinc/flux/threadpool/ThreadPool;)V%
 -com/groupbyinc/flux/discovery/DiscoveryModule"
#?)com/groupbyinc/flux/cluster/ClusterModule%
&?#com/groupbyinc/flux/rest/RestModule(
)?-com/groupbyinc/flux/transport/TransportModule+n(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;)V%-
,.java/lang/Boolean0(Z)Ljava/lang/Boolean;~2
13getAsBoolean:(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean;56
7booleanValue9?
1:)com/groupbyinc/flux/http/HttpServerModule<
=?)com/groupbyinc/flux/indices/IndicesModule?
@@'com/groupbyinc/flux/search/SearchModuleB
C@'com/groupbyinc/flux/action/ActionModuleE(Z)V%G
FH)com/groupbyinc/flux/monitor/MonitorModuleJ
K?)com/groupbyinc/flux/gateway/GatewayModuleM
N?0com/groupbyinc/flux/client/node/NodeClientModuleP
Q@2com/groupbyinc/flux/index/search/shape/ShapeModuleS
T@/com/groupbyinc/flux/percolator/PercolatorModuleV
W@1com/groupbyinc/flux/watcher/ResourceWatcherModuleY
Z@3com/groupbyinc/flux/repositories/RepositoriesModule\
]@%com/groupbyinc/flux/tribe/TribeModule_
`@processModules(Ljava/lang/Iterable;)Vbc
?dcreateInjector.()Lcom/groupbyinc/flux/common/inject/Injector;fg
?h	j!com/groupbyinc/flux/client/Clientl*com/groupbyinc/flux/common/inject/InjectorngetInstance%(Ljava/lang/Class;)Ljava/lang/Object;pqor#$	t5com/groupbyinc/flux/node/settings/NodeSettingsServicevsetNodeSettingsService:(Lcom/groupbyinc/flux/node/settings/NodeSettingsService;)Vxy
?zclose|?
?}
java/util/concurrent/TimeUnit?SECONDSLjava/util/concurrent/TimeUnit;??	??	terminateN(Lcom/groupbyinc/flux/threadpool/ThreadPool;JLjava/util/concurrent/TimeUnit;)Z??
??java/lang/Throwable?initialized?nodeEnvironment)Lcom/groupbyinc/flux/env/NodeEnvironment;exLjava/io/IOException;pluginModule*Lcom/groupbyinc/flux/common/inject/Module;modules2Lcom/groupbyinc/flux/common/inject/ModulesBuilder;tmpEnvversionclasspathPluginsPLjava/util/Collection;>;Ljava/util/Collection;tmpSettingslogger-Lcom/groupbyinc/flux/common/logging/ESLogger;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;namedWriteableRegistry=Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;successZ%()Lcom/groupbyinc/flux/client/Client;start!()Lcom/groupbyinc/flux/node/Node;
moveToStarted??
C?starting ...?'com/groupbyinc/flux/discovery/Discovery?2com/groupbyinc/flux/cluster/routing/RoutingService?setRoutingService7(Lcom/groupbyinc/flux/cluster/routing/RoutingService;)V????nodeServices??
??java/lang/Class?7com/groupbyinc/flux/common/component/LifecycleComponent?????=com/groupbyinc/flux/cluster/action/index/MappingUpdatedAction?	setClient&(Lcom/groupbyinc/flux/client/Client;)V??
??*com/groupbyinc/flux/indices/IndicesService?
??;com/groupbyinc/flux/indices/memory/IndexingMemoryController?
??>com/groupbyinc/flux/indices/cluster/IndicesClusterStateService?
??1com/groupbyinc/flux/indices/ttl/IndicesTTLService?
??.com/groupbyinc/flux/snapshots/SnapshotsService?
??3com/groupbyinc/flux/snapshots/SnapshotShardsService?
??
??(com/groupbyinc/flux/search/SearchService?
??*com/groupbyinc/flux/monitor/MonitorService?
??'com/groupbyinc/flux/rest/RestController?
??,com/groupbyinc/flux/gateway/GatewayAllocator?*com/groupbyinc/flux/cluster/ClusterService?setReallocationc(Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;)V??
??2com/groupbyinc/flux/watcher/ResourceWatcherService?
??*com/groupbyinc/flux/gateway/GatewayService?
??.com/groupbyinc/flux/transport/TransportService?
????.com/groupbyinc/flux/discovery/DiscoveryService?
??acceptIncomingRequests??
??!joinClusterAndWaitForInitialState??
??#com/groupbyinc/flux/http/HttpServer?
??
]?node.portsfile?,com/groupbyinc/flux/http/HttpServerTransporthttpboundAddress>()Lcom/groupbyinc/flux/common/transport/BoundTransportAddress;writePortsFileQ(Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/BoundTransportAddress;)V	

	transport
?startedpluginMLjava/lang/Class<+Lcom/groupbyinc/flux/common/component/LifecycleComponent;>;Ljava/lang/Class;.Lcom/groupbyinc/flux/http/HttpServerTransport;0Lcom/groupbyinc/flux/transport/TransportService;transportServicediscoService0Lcom/groupbyinc/flux/discovery/DiscoveryService;stop
moveToStopped?
Cstopping ...?
] 
? 
? 
? 
? 
? 
? 
? 
? ? 
? 
? 
? 
? 
? 
? ? 
? stopped3java/lang/InterruptedException5java/lang/Exception7?
C9?
;moveToClosed=?
C>closing ...@$com/groupbyinc/flux/common/StopWatchB
node_closeD(Ljava/lang/String;)V%F
CGtribeI:(Ljava/lang/String;)Lcom/groupbyinc/flux/common/StopWatch;?K
CL
]}(()Lcom/groupbyinc/flux/common/StopWatch;O
CP
?}snapshot_serviceS
?}
?}#,com/groupbyinc/flux/common/lease/ReleasablesX1([Lcom/groupbyinc/flux/common/lease/Releasable;)V|Z
Y[indices_cluster]
?}indices`
?}
?}
?}9com/groupbyinc/flux/indices/cache/query/IndicesQueryCachee
f}Acom/groupbyinc/flux/indices/fielddata/cache/IndicesFieldDataCacheh
i}.com/groupbyinc/flux/indices/store/IndicesStorek
l}routingn
?}clusterq?}	discoveryt
?}monitorw
?}gatewayz
?}search}
?}rest?
?}
?}percolator_service?0com/groupbyinc/flux/percolator/PercolatorService?
?}java/lang/StringBuilder?
?@plugin(?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??getName??
??)???
???}script?(com/groupbyinc/flux/script/ScriptService?
?}ScriptService close failed?warn=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????thread_pool?shutdown??
??awaitTermination#(JLjava/util/concurrent/TimeUnit;)Z??
??thread_pool_force_shutdown?shutdownNow??
??isTraceEnabled???? Close times for each service:
{}?prettyPrint??
C?trace????4com/groupbyinc/flux/cache/recycler/PageCacheRecycler?
?}closed?e	stopWatch&Lcom/groupbyinc/flux/common/StopWatch;isClosed??
C?
.ports.tmp?java/nio/file/Path?resolve((Ljava/lang/String;)Ljava/nio/file/Path;????UTF-8?java/nio/charset/Charset?forName.(Ljava/lang/String;)Ljava/nio/charset/Charset;??
??java/nio/file/OpenOption?java/nio/file/Files?newBufferedWriterc(Ljava/nio/file/Path;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;??
??:com/groupbyinc/flux/common/transport/BoundTransportAddress?boundAddresses:()[Lcom/groupbyinc/flux/common/transport/TransportAddress;??
??java/io/BufferedWriter?8[Lcom/groupbyinc/flux/common/transport/TransportAddress;?5com/groupbyinc/flux/common/transport/TransportAddress?
getAddress????java/net/InetAddress?	getByName*(Ljava/lang/String;)Ljava/net/InetAddress;??
??java/net/Inet6Address?isLinkLocalAddress??
??java/net/InetSocketAddress?getPort()I????(Ljava/net/InetAddress;I)V%
?1com/groupbyinc/flux/common/network/NetworkAddress
formatAddress0(Ljava/net/InetSocketAddress;)Ljava/lang/String;


writeF
?
?}
addSuppressed(Ljava/lang/Throwable;)V
?java/lang/RuntimeExceptionFailed to write ports file
?.portsjava/nio/file/CopyOption java/nio/file/StandardCopyOptionATOMIC_MOVE"Ljava/nio/file/StandardCopyOption; 	!moveY(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;#$
?%Failed to rename ports file'inetAddressLjava/net/InetAddress;address7Lcom/groupbyinc/flux/common/transport/TransportAddress;writerLjava/io/BufferedWriter;type;>;)V
SourceFileInnerClasses!44 !"#$
%&5H*+?,?0?6?9?6:;<7
??%75?J*?A*?CY?D?F?J+?O?SU?X?[:?a:?cYe?iS?o:q?Y,SY?w?{??SY????SY????S?????????/??Y+??SY+????SY+??SY+??S??*??Y+??+??-????**??????*?LY*?ķƵȻ?Y*??*?ȷ?:?:??Y??Կ??Y*?÷?:??Y??:6	??Y??:

??Y?	Y,??S??W
??Y??Y*?÷?S??W*??????:???!????:
??YS??W???
??Y??Y*????S??W
??Y?Y*?÷S??W
??Y?Y*?S??W
??Y?	Y?S??W
??Y?Y*?÷S??W
??Y?Y*?ȷS??W
??Y?Y?S??W
??Y?Y*?÷S??W
??Y?Y?!S??W
??Y?#Y*?÷$S??W
??Y?&Y*?÷'S??W
??Y?)Y*?÷*S??W
??Y?,Y*???/S??W*???4?8?;?
??Y?=Y*?÷>S??W
??Y?@Y?AS??W
??Y?CY?DS??W
??Y?FY?IS??W
??Y?KY*?÷LS??W
??Y?NY*?÷OS??W
??Y?QY?RS??W
??Y?TY?US??W
??Y?WY?XS??W
??Y?ZY?[S??W
??Y?]Y?^S??W
??Y?`Y?aS??W*??
?e*
?i?k**?km?s?m?u*?kw?s?w?{6		?2?~????W?:
	??~????W
?????????>  " 6???????x??'???
J:;J? J?.J??%%?A	??E??8??/??,??	8J??7C???%?,?A?p?}?????????????????????????'?<?T?x????????????????+?C?Y?q??????????????#?;?S?g?{??????????????????? ?'?,?;?I?9?	??L???C>?
??\L????????'?[?9
L???????L???????
L?????:;M5/*?ð6:;7?#?5/*?u?6:;7???5??*?F???*??cY*??e?iS?oL+????*?k??s??*?k??s????*??????M,???#,????N*?k-?s????W???*?k??s??*?u??*?kŹs?Ŷ?W*?kȹs?ȶ?W*?k˹s?˶?W*?kιs?ζ?W*?kѹs?Ѷ?W*?kԹs?Զ?W*?k??s????W*?kعs?ض?W*?k۹s?۶?W*?k޹s?޶?W*?k?s??*?k?s??*?k??s????*?k?s???W*?k?s???W*?k?s??M,??W*?k?s???W*?k?s?????N,??-??*???4?8?;?*?k??s????W*?k]?s?]??W*???4?8?;?R*???4?8?;?"*?k?s?:*??*?k?s??:*??+???*?6Hrj?
?:;"???????8r7?'?
??"?/?R?r?????????	#
6I\????????? 
! #2$F%Y&j'x)?*?,?.9?R???(?????W?5??*?F??*??cY*??e?iS?oL+???*?k]?s?]?!W*?k?s??"W*???4?8?;?*?k??s???#W*?kѹs?Ѷ$W*?kԹs?Զ%W*?k˹s?˶&W*?kȹs?ȶ'W*?kιs?ζ(W*?k??s???)W*?k?s??*W*?k?s??+W*?k۹s?۶,W*?k?s??-W*?kعs?ض.W*?k޹s?޶/W*?k?s??0W*??????M,???#,????N*?k-?s???1W???*?kŹs?Ŷ2W+4???*?6 ??:;"???8?7n2
35"6/8A9T:g;z>???A?C?D?E?FGH'I:JMK`LsN?O?P?S?T?V9?m????(!|?5n?*?F?:?*?'?B6N_b864?9????:;0???Hn??8?97E^
_abe0f=hHiPjakllm?o?p?q?r?s?t?uvwx0yB{T|f}x~???????????????????(?3?E?P?b?m????????????????????'???B?C?N?_?b?c?h?q?????????9&
?v?C????O_>v6^8!??52*?F?Ȭ6:;7?g5/*?k?6:;7?	
5?
O*?ȶ???Y??+??ʶ?????N-Ҹ??ڸ?::,??:?66?Z2:		????:

???
????.??Y????Y
	???	????????????U???H:??<??4::?:?!???:?????:?Y??*?ȶ???Y??+????????:-?Y?"S?&W?:?Y(???????4???4?????????!??>+<?>6f
\>)*
PJ+,	1?-.?
??A
??O:;O/O0!.12+$327R?!?4?P?\?l?o???????????????	?+?<???A?N?9??B	c??????,???*?Q?G?H??c???????c??B>?5c???><=			




© 2015 - 2025 Weber Informatics LLC | Privacy Policy