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

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

There is a newer version: 59
Show newest version
????3?,com/groupbyinc/flux/gateway/GatewayAllocator6com/groupbyinc/flux/common/component/AbstractComponentGatewayAllocator.javaJcom/groupbyinc/flux/gateway/GatewayAllocator$InternalReplicaShardAllocatorInternalReplicaShardAllocatorJcom/groupbyinc/flux/gateway/GatewayAllocator$InternalPrimaryShardAllocator	InternalPrimaryShardAllocator?com/groupbyinc/flux/gateway/GatewayAllocator$InternalAsyncFetchInternalAsyncFetch.com/groupbyinc/flux/gateway/GatewayAllocator$1[com/groupbyinc/flux/gateway/TransportNodesListGatewayStartedShards$NodeGatewayStartedShardsBcom/groupbyinc/flux/gateway/TransportNodesListGatewayStartedShardsNodeGatewayStartedShards]com/groupbyinc/flux/indices/store/TransportNodesListShardStoreMetaData$NodeStoreFilesMetaDataFcom/groupbyinc/flux/indices/store/TransportNodesListShardStoreMetaDataNodeStoreFilesMetaDataRcom/groupbyinc/flux/cluster/routing/allocation/FailedRerouteAllocation$FailedShardFcom/groupbyinc/flux/cluster/routing/allocation/FailedRerouteAllocationFailedShardAcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards 0com/groupbyinc/flux/cluster/routing/RoutingNodes"UnassignedShardsroutingService4Lcom/groupbyinc/flux/cluster/routing/RoutingService;primaryShardAllocator3Lcom/groupbyinc/flux/gateway/PrimaryShardAllocator;replicaShardAllocator3Lcom/groupbyinc/flux/gateway/ReplicaShardAllocator;asyncFetchStarted$Ljava/util/concurrent/ConcurrentMap;?Ljava/util/concurrent/ConcurrentMap;>;asyncFetchStore?Ljava/util/concurrent/ConcurrentMap;>;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/gateway/TransportNodesListGatewayStartedShards;Lcom/groupbyinc/flux/indices/store/TransportNodesListShardStoreMetaData;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V03
4@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections6newConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;89
7:+,	<.,	>?(Lcom/groupbyinc/flux/gateway/GatewayAllocator;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/gateway/TransportNodesListGatewayStartedShards;)V0@

A'(	C?(Lcom/groupbyinc/flux/gateway/GatewayAllocator;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/indices/store/TransportNodesListShardStoreMetaData;)V0E
F)*	Hthis.Lcom/groupbyinc/flux/gateway/GatewayAllocator;settings.Lcom/groupbyinc/flux/common/settings/Settings;
startedActionDLcom/groupbyinc/flux/gateway/TransportNodesListGatewayStartedShards;storeActionHLcom/groupbyinc/flux/indices/store/TransportNodesListShardStoreMetaData;setReallocationc(Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;)V%&	T1(Lcom/groupbyinc/flux/gateway/GatewayAllocator;)V0V
W*com/groupbyinc/flux/cluster/ClusterServiceYadd5(Lcom/groupbyinc/flux/cluster/ClusterStateListener;)V[\Z]clusterService,Lcom/groupbyinc/flux/cluster/ClusterService;getNumberOfInFlightFetch()I"java/util/concurrent/ConcurrentMapcvalues()Ljava/util/Collection;efdgjava/util/Collectioniiterator()Ljava/util/Iterator;kljmjava/util/IteratorohasNext()Zqrpsnext()Ljava/lang/Object;uvpw+com/groupbyinc/flux/gateway/AsyncShardFetchygetNumberOfInFlightFetches{b
z|fetch?Lcom/groupbyinc/flux/gateway/AsyncShardFetch;-Lcom/groupbyinc/flux/gateway/AsyncShardFetch;?Lcom/groupbyinc/flux/gateway/AsyncShardFetch;countIapplyStartedShardsL(Lcom/groupbyinc/flux/cluster/routing/allocation/StartedRerouteAllocation;)VGcom/groupbyinc/flux/cluster/routing/allocation/StartedRerouteAllocation?
startedShards()Ljava/util/List;??
??java/util/List??m0com/groupbyinc/flux/cluster/routing/ShardRouting?+com/groupbyinc/flux/common/lease/Releasable?shardId+()Lcom/groupbyinc/flux/index/shard/ShardId;??
??remove&(Ljava/lang/Object;)Ljava/lang/Object;??d?,com/groupbyinc/flux/common/lease/Releasables?close1([Lcom/groupbyinc/flux/common/lease/Releasable;)V??
??shard2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
allocationILcom/groupbyinc/flux/cluster/routing/allocation/StartedRerouteAllocation;applyFailedShardsK(Lcom/groupbyinc/flux/cluster/routing/allocation/FailedRerouteAllocation;)VfailedShards??
???	?TLcom/groupbyinc/flux/cluster/routing/allocation/FailedRerouteAllocation$FailedShard;HLcom/groupbyinc/flux/cluster/routing/allocation/FailedRerouteAllocation;allocateUnassignedE(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Z@com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation?routingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;??
??
unassignedE()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards;??
#?.com/groupbyinc/flux/gateway/PriorityComparator?getAllocationComparatort(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/gateway/PriorityComparator;??
??sort(Ljava/util/Comparator;)V??
!?1com/groupbyinc/flux/gateway/PrimaryShardAllocator???
??1com/groupbyinc/flux/gateway/ReplicaShardAllocator?processExistingRecoveries??
??
??BLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;changedZCLcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards;
access$000T(Lcom/groupbyinc/flux/gateway/GatewayAllocator;)Ljava/util/concurrent/ConcurrentMap;x0
access$100
access$200d(Lcom/groupbyinc/flux/gateway/GatewayAllocator;)Lcom/groupbyinc/flux/cluster/routing/RoutingService;	SignatureCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable
SourceFileInnerClasses!%&'()*+,?-.,?/	01??0*+?5*?;?=*?;??*?
Y*+,?B?D*?Y*+-?G?I??*0JK0LM0NO0PQ?=89>!?/@?2RS?Z*,?U+?Y*?X?^?? JK_`%&?CDXab??\<*?=?h?nM,?t?,?x?zN-?}`




© 2015 - 2025 Weber Informatics LLC | Privacy Policy