Repository URL to install this package:
|
Version:
0.6.14 ▾
|
com.supertenant/supermeter
/
agent
/
com
/
google
/
common
/
util
/
concurrent
/
ServiceManager$ServiceManagerState.stclazz
|
|---|
Êþº¾ 4
j í î
í ï ð
ñ ò
ó ô
õ ö ÷ ø ù ú
û ü ý þ
ÿ
ÿ
í
ø
¿ ¿ ) ¾
!"
/#$
/%
/&
,'
(
)
*
+, -
./
01
234
9' 5 6
78
09:
; ø<=>? H@B
ÓD
ÓE
FG HH
I JK
L
MN
ûO
PQR
W ÿ
PS
TU
VW
XY
XZ
[ ø\]
X^ ø_` a
b
c
Ad efgh
ij
klm
n
o
Ap
q
Ars
st
uv
Xw
xy
0z{
y' ø|}
~
y ServiceManagerState InnerClasses StoppedGuard AwaitHealthGuard monitor +Lcom/google/common/util/concurrent/Monitor; servicesByState 'Lcom/google/common/collect/SetMultimap; Signature State
Lcom/google/common/collect/SetMultimap<Lcom/google/common/util/concurrent/Service$State;Lcom/google/common/util/concurrent/Service;>; RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/concurrent/GuardedBy; value states $Lcom/google/common/collect/Multiset; WLcom/google/common/collect/Multiset<Lcom/google/common/util/concurrent/Service$State;>;
startupTimers Ljava/util/Map; ^Ljava/util/Map<Lcom/google/common/util/concurrent/Service;Lcom/google/common/base/Stopwatch;>; ready Z transitioned numberOfServices I awaitHealthGuard Guard 1Lcom/google/common/util/concurrent/Monitor$Guard; stoppedGuard listeners 5Lcom/google/common/util/concurrent/ListenerCallQueue; Listener rLcom/google/common/util/concurrent/ListenerCallQueue<Lcom/google/common/util/concurrent/ServiceManager$Listener;>; <init> 2(Lcom/google/common/collect/ImmutableCollection;)V Code LineNumberTable LocalVariableTable this FLcom/google/common/util/concurrent/ServiceManager$ServiceManagerState; services /Lcom/google/common/collect/ImmutableCollection; LocalVariableTypeTable \Lcom/google/common/collect/ImmutableCollection<Lcom/google/common/util/concurrent/Service;>; _(Lcom/google/common/collect/ImmutableCollection<Lcom/google/common/util/concurrent/Service;>;)V tryStartTiming .(Lcom/google/common/util/concurrent/Service;)V stopwatch "Lcom/google/common/base/Stopwatch; service +Lcom/google/common/util/concurrent/Service;
StackMapTable markReady ()V servicesInBadStates Ljava/util/List; =Ljava/util/List<Lcom/google/common/util/concurrent/Service;>;
addListener ](Lcom/google/common/util/concurrent/ServiceManager$Listener;Ljava/util/concurrent/Executor;)V listener ;Lcom/google/common/util/concurrent/ServiceManager$Listener; executor Ljava/util/concurrent/Executor; awaitHealthy #(JLjava/util/concurrent/TimeUnit;)V timeout J unit Ljava/util/concurrent/TimeUnit;
Exceptions awaitStopped 2()Lcom/google/common/collect/ImmutableSetMultimap; entry Entry Ljava/util/Map$Entry; builder Builder 8Lcom/google/common/collect/ImmutableSetMultimap$Builder; sLjava/util/Map$Entry<Lcom/google/common/util/concurrent/Service$State;Lcom/google/common/util/concurrent/Service;>; Lcom/google/common/collect/ImmutableSetMultimap$Builder<Lcom/google/common/util/concurrent/Service$State;Lcom/google/common/util/concurrent/Service;>; ()Lcom/google/common/collect/ImmutableSetMultimap<Lcom/google/common/util/concurrent/Service$State;Lcom/google/common/util/concurrent/Service;>; startupTimes *()Lcom/google/common/collect/ImmutableMap; loadTimes dLjava/util/Map$Entry<Lcom/google/common/util/concurrent/Service;Lcom/google/common/base/Stopwatch;>; dLjava/util/List<Ljava/util/Map$Entry<Lcom/google/common/util/concurrent/Service;Ljava/lang/Long;>;>; g()Lcom/google/common/collect/ImmutableMap<Lcom/google/common/util/concurrent/Service;Ljava/lang/Long;>; transitionService (Lcom/google/common/util/concurrent/Service;Lcom/google/common/util/concurrent/Service$State;Lcom/google/common/util/concurrent/Service$State;)V from 1Lcom/google/common/util/concurrent/Service$State; to enqueueStoppedEvent enqueueHealthyEvent enqueueFailedEvent dispatchListenerEvents checkHealthy exception !Ljava/lang/IllegalStateException;
SourceFile ServiceManager.java ¥ º )com/google/common/util/concurrent/Monitor /com/google/common/util/concurrent/Service$State Ucom/google/common/util/concurrent/ServiceManager$ServiceManagerState$AwaitHealthGuard ¥ Qcom/google/common/util/concurrent/ServiceManager$ServiceManagerState$StoppedGuard 3com/google/common/util/concurrent/ListenerCallQueue ¡ â º¡¢£ com/google/common/base/Stopwatch¤¥¦§¨ º ©ª« ά®¯°±²³´ )com/google/common/util/concurrent/Serviceµ¶·¸ "java/lang/IllegalArgumentException¹º»¼ java/lang/StringBuilder ¥½ YServices started transitioning asynchronously before the ServiceManager was constructed: ¾¿ÀÁ ¥Â ÀÃÄÅ è ºÆÇ %java/util/concurrent/TimeoutExceptionÈ âÉÊËÌÍÎÏÐÑ ]Timeout waiting for the services to become healthy. The following services have not started: Ò âÓ âÔÊÕÖ× STimeout waiting for the services to stop. The following services have not stopped: ÒØÙÚÛ¯Ü java/util/Map$EntryÝ´Þ <com/google/common/util/concurrent/ServiceManager$NoOpService NoOpService¦ß ÎàáâÚã´ä²åæ Ëçèéºêëìíîï Fcom/google/common/util/concurrent/ServiceManager$ServiceManagerState$1ðñòóôõö÷øù£úû ç ºüý ;Service %s not at the expected location in the state map %sþÿ¦ý .Service %s in the state map unexpectedly at %s ⥠Started {0} in {1}. java/lang/Object
æ ²
å º ä º Fcom/google/common/util/concurrent/ServiceManager$ServiceManagerState$2 ¥² ;It is incorrect to execute listeners with the monitor held.þ º java/lang/IllegalStateException OExpected to be healthy after starting. The following services are not running: ¢ >com/google/common/util/concurrent/ServiceManager$FailedService
FailedService ¥ ² Dcom/google/common/util/concurrent/ServiceManager$ServiceManagerState /com/google/common/util/concurrent/Monitor$Guard 9com/google/common/util/concurrent/ServiceManager$Listener java/lang/Throwable java/util/List java/util/Iterator 6com/google/common/collect/ImmutableSetMultimap$Builder )com/google/common/collect/MultimapBuilder enumKeys MultimapBuilderWithKeys V(Ljava/lang/Class;)Lcom/google/common/collect/MultimapBuilder$MultimapBuilderWithKeys; Acom/google/common/collect/MultimapBuilder$MultimapBuilderWithKeys linkedHashSetValues SetMultimapBuilder @()Lcom/google/common/collect/MultimapBuilder$SetMultimapBuilder; <com/google/common/collect/MultimapBuilder$SetMultimapBuilder build )()Lcom/google/common/collect/SetMultimap; %com/google/common/collect/SetMultimap keys &()Lcom/google/common/collect/Multiset; com/google/common/collect/Maps newIdentityHashMap ()Ljava/util/IdentityHashMap; I(Lcom/google/common/util/concurrent/ServiceManager$ServiceManagerState;)V -com/google/common/collect/ImmutableCollection size ()I NEW putAll )(Ljava/lang/Object;Ljava/lang/Iterable;)Z enter
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object;
createStarted $()Lcom/google/common/base/Stopwatch; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; leave com/google/common/collect/Lists newArrayList ()Ljava/util/ArrayList; .com/google/common/collect/ImmutableSetMultimap values 1()Lcom/google/common/collect/ImmutableCollection; iterator 2()Lcom/google/common/collect/UnmodifiableIterator; hasNext ()Z next ()Ljava/lang/Object; state 3()Lcom/google/common/util/concurrent/Service$State; add (Ljava/lang/Object;)Z java/lang/String valueOf &(Ljava/lang/Object;)Ljava/lang/String; length (I)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V 4(Ljava/lang/Object;Ljava/util/concurrent/Executor;)V enterWhenUninterruptibly 4(Lcom/google/common/util/concurrent/Monitor$Guard;)V waitForUninterruptibly T(Lcom/google/common/util/concurrent/Monitor$Guard;JLjava/util/concurrent/TimeUnit;)Z STARTING &com/google/common/collect/ImmutableSet of N(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; !com/google/common/base/Predicates in :(Ljava/util/Collection;)Lcom/google/common/base/Predicate; #com/google/common/collect/Multimaps
filterKeys r(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap;
TERMINATED FAILED java/util/EnumSet 5(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet; not F(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; :()Lcom/google/common/collect/ImmutableSetMultimap$Builder; entries ()Ljava/util/Set;
java/util/Set ()Ljava/util/Iterator; getValue 0com/google/common/util/concurrent/ServiceManager O(Ljava/util/Map$Entry;)Lcom/google/common/collect/ImmutableSetMultimap$Builder; newArrayListWithCapacity (I)Ljava/util/ArrayList; entrySet getKey isRunning java/util/concurrent/TimeUnit MILLISECONDS elapsed "(Ljava/util/concurrent/TimeUnit;)J java/lang/Long (J)Ljava/lang/Long; immutableEntry ;(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry; "com/google/common/collect/Ordering natural &()Lcom/google/common/collect/Ordering;
onResultOf G(Lcom/google/common/base/Function;)Lcom/google/common/collect/Ordering; java/util/Collections sort )(Ljava/util/List;Ljava/util/Comparator;)V &com/google/common/collect/ImmutableMap copyOf >(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMap; $com/google/common/base/Preconditions checkNotNull
checkArgument (Z)V remove '(Ljava/lang/Object;Ljava/lang/Object;)Z
checkState :(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V RUNNING compareTo (Ljava/lang/Enum;)I stop
access$200 ()Ljava/util/logging/Logger; java/util/logging/Level FINE Ljava/util/logging/Level; java/util/logging/Logger log A(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V "com/google/common/collect/Multiset count (Ljava/lang/Object;)I
access$300 Event =()Lcom/google/common/util/concurrent/ListenerCallQueue$Event; enqueue >(Lcom/google/common/util/concurrent/ListenerCallQueue$Event;)V
access$400 t(Lcom/google/common/util/concurrent/ServiceManager$ServiceManagerState;Lcom/google/common/util/concurrent/Service;)V isOccupiedByCurrentThread (ZLjava/lang/Object;)V dispatch equalTo 6(Ljava/lang/Object;)Lcom/google/common/base/Predicate; #(Ljava/lang/Object;)Ljava/util/Set;
addSuppressed (Ljava/lang/Throwable;)V 9com/google/common/util/concurrent/ListenerCallQueue$Event 0 j
s s s s s ¡ ¤ ¥ ¦ § æ l*· *» Y· µ *¸ ¶ ¶ µ **´ ¹
µ *¸ µ
*» Y*· µ *» Y*· µ *» Y· µ *+¶ µ *´ ² +¹ W± ¨ : » ½ ¿ Á #Â +Ä ,Å 2à >ô J U
] k © l ª « l ¬ ® l ¬ ¯ ° ± ² § ° <*´ ¶ *´
+¹ À M,Ç *´
+¸ ¹ W*´ ¶ §
N*´ ¶ -¿± ' 1 ¨ &