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: 59
Show newest version
????3?7com/groupbyinc/flux/common/breaker/MemoryCircuitBreakerjava/lang/Object1com/groupbyinc/flux/common/breaker/CircuitBreakerMemoryCircuitBreaker.javamemoryBytesLimitJoverheadConstantDused(Ljava/util/concurrent/atomic/AtomicLong;trippedCountlogger-Lcom/groupbyinc/flux/common/logging/ESLogger;$assertionsDisabledZ`(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;DLcom/groupbyinc/flux/common/logging/ESLogger;)V?(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;DLcom/groupbyinc/flux/common/breaker/MemoryCircuitBreaker;Lcom/groupbyinc/flux/common/logging/ESLogger;)V
this9Lcom/groupbyinc/flux/common/breaker/MemoryCircuitBreaker;limit/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;()V
-com/groupbyinc/flux/common/unit/ByteSizeValuebytes()J!"
 #		%
	'&java/util/concurrent/atomic/AtomicLong)(J)V+
*,
	.
	0+com/groupbyinc/flux/common/logging/ESLogger2	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
CEtrace((Ljava/lang/String;[Ljava/lang/Object;)VGH3I
oldBreakercircuitBreak(Ljava/lang/String;J)V;com/groupbyinc/flux/common/breaker/CircuitBreakingExceptionNincrementAndGetP"
*Qjava/lang/StringBuilderS
T Data too large, data for field [Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;XY
TZ!] would be larger than limit of [\(J)Ljava/lang/StringBuilder;X^
T_/a
 ,-(Ljava/lang/Object;)Ljava/lang/StringBuilder;Xd
Te]gtoString()Ljava/lang/String;ij
TkdebugmH3n(Ljava/lang/String;)Vp
Oq	fieldNameLjava/lang/String;bytesNeededmessageaddEstimateBytesAndMaybeBreak(JLjava/lang/String;)DLM
y????????	addAndGet(J)J}~
*= 0?(Ljava/lang/Object;)V?
??ugetUsedgetLimitgetOverhead()DgetTrippedCountgetName	fielddata?java/lang/Class?desiredAssertionStatus?7
??CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFile!	


?V
*+(???*




?
/	0?y*?*+?$?&*(?(?*?*Y	?-?/*?*Y	?-?1?*?/?/*?1?1*?5?9?(;?Y*?&?ASY+SY*?(?FS?J??4yyy
yKy?:;<=>?"@1B:CCEIFSGaHsGxJ??1 34LM??Z*?1?RX?TY?UW?[+?[]?[*?&?`b?[? Y*?&?c?fh?[?l:*?5??o?OY?r??*ZZstZu	Avt?QRATPU?Owx?	
G*?&	??	*-?z*?&{??G*?/??7*?5?9?-*?5??Y? Y?cSY-SY? Y?cS?J??*?/??7a7?*?(k?7*?5?9?[*?5??Y? Y?cSY-SY? Y?cSY*?&?ASY? Y*?&?cSY?ASY? Y?cS?J*?&	??S*?&??I*?5??Y?ASY? Y?cSY-SY*?&?ASY? Y*?&?cS??*-?z*?/???????H$:?	x??	GG!	G?tm??	g??	?^c	dkl$m0nZq^ygzm{x|?}????}???????)?.?5?C???J??}?X?O?~??`*?/??B*?5?9? *?5??Y?ASY!?AS?J???)!	??#??Y?TY?U??[!?`??[?l???!?? ``!		W?	??	??2?^???2+?"?2*?/???????"?/*?&???????/*?(?????"?2*?1???????j?-???????4?????????@?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy