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

com.groupbyinc.flux.common.breaker.MemoryCircuitBreaker.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?7com/groupbyinc/flux/common/breaker/MemoryCircuitBreakerjava/lang/Object1com/groupbyinc/flux/common/breaker/CircuitBreakerMemoryCircuitBreaker.javamemoryBytesLimitJoverheadConstantDused(Ljava/util/concurrent/atomic/AtomicLong;trippedCountlogger!Lorg/apache/logging/log4j/Logger;$assertionsDisabledZT(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;DLorg/apache/logging/log4j/Logger;)V?(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;DLcom/groupbyinc/flux/common/breaker/MemoryCircuitBreaker;Lorg/apache/logging/log4j/Logger;)V
this9Lcom/groupbyinc/flux/common/breaker/MemoryCircuitBreaker;limit/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;()V
-com/groupbyinc/flux/common/unit/ByteSizeValuegetBytes()J!"
 #		%
	'&java/util/concurrent/atomic/AtomicLong)(J)V+
*,
	.
	0org/apache/logging/log4j/Logger2	4isTraceEnabled()Z6738YCreating MemoryCircuitBreaker with a limit of {} bytes ({}) and a overhead constant of {}:java/lang/Long<valueOf(J)Ljava/lang/Long;>?
=@java/lang/DoubleB(D)Ljava/lang/Double;>D
CEtraceK(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)VGH3I
oldBreakercircuitBreak(Ljava/lang/String;J)V;com/groupbyinc/flux/common/breaker/CircuitBreakingExceptionNincrementAndGetP"
*Qjava/lang/StringBuilderS
T[Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;XY
TZgetName()Ljava/lang/String;\]
^"] Data too large, data for field [`] would be [b(J)Ljava/lang/StringBuilder;Xd
Te/g
 ,-(Ljava/lang/Object;)Ljava/lang/StringBuilder;Xj
Tk&], which is larger than the limit of [m]otoStringq]
Tr{}tdebug'(Ljava/lang/String;Ljava/lang/Object;)Vvw3x(Ljava/lang/String;JJ)Vz
O{	fieldNameLjava/lang/String;bytesNeededmessageaddEstimateBytesAndMaybeBreak(JLjava/lang/String;)DLM
?????????	addAndGet(J)J??
*?= 0?(Ljava/lang/Object;)V?
??ugetUsedgetLimitgetOverhead()DgetTrippedCount	fielddata?java/lang/Class?desiredAssertionStatus?7
??CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFile!	


?V
*+(???*




?
/	0?l*?*+?$?&*(?(?*?*Y	?-?/*?*Y	?-?1?*?/?/*?1?1*?5?9?;*?&?A+*?(?F?J??4lll
lKl?:;<=>?"@1B:CCEIFSG[HfGkJ??1 3'LM???*?1?RX?TY?UW?[*?_?[a?[+?[c?[ ?fh?[? Y ?i?ln?[*?&?fh?[? Y*?&?i?lp?[?s:*?5u?y?OY *?&?|??*??}~?	f?~?QRfVsW?O????
*?&	??	*-??*?&???:*?/??7*?5?9? *?5?? Y?i-? Y?i?J??*?/??7a7?*?(k?7*?5?9?@*?5?? Y?i-? Y?i*?&?A? Y*?&?i?A? Y?i??	*?&	??@*?&??6*?5??A? Y?i-*?&?A? Y*?&?i??*-??*?/????L???H$-?	k??	?	?~`??	Z??	?^e	fmn$o0pMsQ{Z|`}k~w??????????????????????=??b?E?O????V*?/??B*?5?9?*?5??A!?A?????)!	??#??Y?TY?U??[!?f??[?s???!?? VV?		M?	??	??(?T???(+?"?2*?/???????"?/*?&???????/*?(?????"?2*?1??????\]?-???????4?š??????@?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy