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

com.groupbyinc.flux.cluster.ClusterStateObserver.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?0com/groupbyinc/flux/cluster/ClusterStateObserverjava/lang/ObjectClusterStateObserver.java>com/groupbyinc/flux/cluster/ClusterStateObserver$ObservedState
ObservedStateAcom/groupbyinc/flux/cluster/ClusterStateObserver$ObservingContext	ObservingContext?com/groupbyinc/flux/cluster/ClusterStateObserver$EventPredicateEventPredicateDcom/groupbyinc/flux/cluster/ClusterStateObserver$ValidationPredicateValidationPredicate@com/groupbyinc/flux/cluster/ClusterStateObserver$ChangePredicateChangePredicate9com/groupbyinc/flux/cluster/ClusterStateObserver$ListenerListenerMcom/groupbyinc/flux/cluster/ClusterStateObserver$ObserverClusterStateListenerObserverClusterStateListener2com/groupbyinc/flux/cluster/ClusterStateObserver$1;com/groupbyinc/flux/cluster/ClusterState$ClusterStateStatus(com/groupbyinc/flux/cluster/ClusterStateClusterStateStatuslogger-Lcom/groupbyinc/flux/common/logging/ESLogger;MATCH_ALL_CHANGES_PREDICATEBLcom/groupbyinc/flux/cluster/ClusterStateObserver$ChangePredicate;clusterService,Lcom/groupbyinc/flux/cluster/ClusterService;timeOutValue+Lcom/groupbyinc/flux/common/unit/TimeValue;lastObservedState-Ljava/util/concurrent/atomic/AtomicReference;oLjava/util/concurrent/atomic/AtomicReference;clusterStateListener9Lcom/groupbyinc/flux/cluster/TimeoutClusterStateListener;observingContextrLjava/util/concurrent/atomic/AtomicReference;startTimeNSLjava/lang/Long;timedOutZ$assertionsDisabled\(Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/common/logging/ESLogger;)V)com/groupbyinc/flux/common/unit/TimeValue8?`(J)V6<
9=?(Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/logging/ESLogger;)V6?
@this2Lcom/groupbyinc/flux/cluster/ClusterStateObserver;%Lcom/groupbyinc/flux/common/Nullable;()V6E
F5(Lcom/groupbyinc/flux/cluster/ClusterStateObserver;)V6H
I$%	K
I-.	N+java/util/concurrent/atomic/AtomicReferenceP(Ljava/lang/Object;)V6R
QS/+	U&'	W*com/groupbyinc/flux/cluster/ClusterServiceYstate,()Lcom/groupbyinc/flux/cluster/ClusterState;[\Z]-(Lcom/groupbyinc/flux/cluster/ClusterState;)V6_
`*+	b()	djava/lang/SystemfnanoTime()Jhi
gjjava/lang/LonglvalueOf(J)Ljava/lang/Long;no
mp12	r+com/groupbyinc/flux/common/logging/ESLoggert"#	vtimeout
observedStateget()Ljava/lang/Object;z{
Q|54	~java/lang/AssertionError?
?FclusterState*Lcom/groupbyinc/flux/cluster/ClusterState;??	?@Lcom/groupbyinc/flux/cluster/ClusterStateObserver$ObservedState;
isTimedOut()Z34	?waitForNextChange>(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;)V?(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Lcom/groupbyinc/flux/cluster/ClusterStateObserver$ChangePredicate;)V??
?listener;Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;i(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Lcom/groupbyinc/flux/common/unit/TimeValue;)V?(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Lcom/groupbyinc/flux/cluster/ClusterStateObserver$ChangePredicate;Lcom/groupbyinc/flux/common/unit/TimeValue;)V??
?changePredicate*com/groupbyinc/flux/ElasticsearchException?*already waiting for a cluster state change?((Ljava/lang/String;[Ljava/lang/Object;)V6?
??	longValue?i
m?
nsecToMSec(J)J??
9?millis?i
9?Sobserver timed out. notifying listener. timeout setting [{}], time since start [{}]?trace??u?set?R
Q?	onTimeout.(Lcom/groupbyinc/flux/common/unit/TimeValue;)V???status=Lcom/groupbyinc/flux/cluster/ClusterState$ClusterStateStatus;??	?apply?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState$ClusterStateStatus;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState$ClusterStateStatus;)Z???2observer: sampled state accepted by predicate ({})?onNewClusterState?_?Uobserver: sampled state rejected by predicate ({}). adding listener to ClusterService?6?

?
compareAndSet'(Ljava/lang/Object;Ljava/lang/Object;)Z??
Q?addg(Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/cluster/TimeoutClusterStateListener;)V??Z?timeSinceStartMSJtimeoutTimeLeftMScontextCLcom/groupbyinc/flux/cluster/ClusterStateObserver$ObservingContext;newState	lastStatereset	getAndSet&(Ljava/lang/Object;)Ljava/lang/Object;??
Q?remove5(Lcom/groupbyinc/flux/cluster/ClusterStateListener;)V??Z?toState
access$000`(Lcom/groupbyinc/flux/cluster/ClusterStateObserver;)Lcom/groupbyinc/flux/cluster/ClusterService;x0java/lang/Class?desiredAssertionStatus??
??	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable"RuntimeVisibleParameterAnnotations
SourceFileInnerClasses!
"#$%&'@()*+?,-./+?0@12@345467?S*+?9Y:?>,?A?? BC&'"#?
;<6???a*?G*?Y*?J?L*?Y*?M?O*?QY?T?V*+?X*?QY?Y+?^?a?T?c*,?e*?e?
*?k?q?s*-?w??*aBCa&'ax)a"#?.C&35(D-EEFJGQH[J`K??[Z9u?Dy\?l"*?c?}?L??+???Y???+????"BC[??OPQ?????/*????BC?V???B
*+*?L????
BC
???
Z	[???M*+*?L,???? BC??()?
^
_?	D???J*+,???? BC???%?
bc????	
w*?V?}???Y?????-?~*?eN-?o?k*?s??e??7-??e?q:??	??F*?w??Y-SY?9Y?>S??*??*?c?Y*?X?^?a??+-????&:? *?k?q?s*-?e-???q:*???Y*?X?^?a:*?c?}?:,???????????.*?w??YS??*?c??+?????_*?w??YS???
Y+,??:	*?V	?ɚ??Y?????*?X???9Y???>*?O????p5Y??AP?2??29=??	wBCw??w?%w()???2?????????~n
ost!u%v5wAxKzj|o}?~????????????????????????.?9?F?T?v??T
?um??m?e?9
LZ?
9m
Z9??D?_?q(*?V???*?X*?O??*?c?Y+?a????(BC(??????'?????/*?X???C?"?E?4??????"?@??J	

				 !@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy