public abstract class io.dropwizard.logging.AbstractAppenderFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware> implements io.dropwizard.logging.AppenderFactory<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.dropwizard.logging.AbstractAppenderFactory
super_class: java.lang.Object
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected ch.qos.logback.classic.Level threshold;
descriptor: Lch/qos/logback/classic/Level;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
RuntimeVisibleTypeAnnotations:
FIELD
javax.validation.constraints.NotNull()
protected java.lang.String logFormat;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
protected io.dropwizard.logging.layout.DiscoverableLayoutFactory<E> layout;
descriptor: Lio/dropwizard/logging/layout/DiscoverableLayoutFactory;
flags: (0x0004) ACC_PROTECTED
Signature: Lio/dropwizard/logging/layout/DiscoverableLayoutFactory<TE;>;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
protected java.util.TimeZone timeZone;
descriptor: Ljava/util/TimeZone;
flags: (0x0004) ACC_PROTECTED
RuntimeVisibleAnnotations:
javax.validation.constraints.NotNull()
RuntimeVisibleTypeAnnotations:
FIELD
javax.validation.constraints.NotNull()
private int queueSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.validation.constraints.Min(value = 1)
javax.validation.constraints.Max(value = 2147483647)
RuntimeVisibleTypeAnnotations:
FIELD
javax.validation.constraints.Min(value = 1)
FIELD
javax.validation.constraints.Max(value = 2147483647)
private int discardingThreshold;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private io.dropwizard.util.Duration messageRate;
descriptor: Lio/dropwizard/util/Duration;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
io.dropwizard.validation.MinDuration(value = 0, unit = java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;, inclusive = false)
io.dropwizard.validation.MaxDuration(value = 1, unit = java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;)
RuntimeVisibleTypeAnnotations:
FIELD
javax.annotation.Nullable()
FIELD
io.dropwizard.validation.MinDuration(value = 0, unit = java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;, inclusive = false)
FIELD
io.dropwizard.validation.MaxDuration(value = 1, unit = java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;)
private boolean includeCallerData;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.List<io.dropwizard.logging.filter.FilterFactory<E>> filterFactories;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lio/dropwizard/logging/filter/FilterFactory<TE;>;>;
private boolean neverBlock;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/dropwizard/logging/AbstractAppenderFactory;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.logging.AbstractAppenderFactory.LOGGER:Lorg/slf4j/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic ch.qos.logback.classic.Level.ALL:Lch/qos/logback/classic/Level;
putfield io.dropwizard.logging.AbstractAppenderFactory.threshold:Lch/qos/logback/classic/Level;
2: aload 0
ldc "UTC"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
putfield io.dropwizard.logging.AbstractAppenderFactory.timeZone:Ljava/util/TimeZone;
3: aload 0
sipush 256
putfield io.dropwizard.logging.AbstractAppenderFactory.queueSize:I
4: aload 0
iconst_m1
putfield io.dropwizard.logging.AbstractAppenderFactory.discardingThreshold:I
5: aload 0
iconst_0
putfield io.dropwizard.logging.AbstractAppenderFactory.includeCallerData:Z
6: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield io.dropwizard.logging.AbstractAppenderFactory.filterFactories:Ljava/util/List;
7: aload 0
iconst_0
putfield io.dropwizard.logging.AbstractAppenderFactory.neverBlock:Z
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
public int getQueueSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.queueSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setQueueSize(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.queueSize:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 queueSize I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
queueSize
public int getDiscardingThreshold();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.discardingThreshold:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setDiscardingThreshold(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.discardingThreshold:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 discardingThreshold I
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
discardingThreshold
public io.dropwizard.util.Duration getMessageRate();
descriptor: ()Lio/dropwizard/util/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.messageRate:Lio/dropwizard/util/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setMessageRate(io.dropwizard.util.Duration);
descriptor: (Lio/dropwizard/util/Duration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.messageRate:Lio/dropwizard/util/Duration;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 messageRate Lio/dropwizard/util/Duration;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
messageRate
public java.lang.String getThreshold();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.threshold:Lch/qos/logback/classic/Level;
invokevirtual ch.qos.logback.classic.Level.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setThreshold(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.dropwizard.logging.DefaultLoggingFactory.toLevel:(Ljava/lang/String;)Lch/qos/logback/classic/Level;
putfield io.dropwizard.logging.AbstractAppenderFactory.threshold:Lch/qos/logback/classic/Level;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 threshold Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
threshold
public java.lang.String getLogFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.logFormat:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setLogFormat(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.logFormat:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 logFormat Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
logFormat
public java.util.TimeZone getTimeZone();
descriptor: ()Ljava/util/TimeZone;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.timeZone:Ljava/util/TimeZone;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setTimeZone(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic io.dropwizard.util.Strings.nullToEmpty:(Ljava/lang/String;)Ljava/lang/String;
ldc "system"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 1
invokestatic java.util.TimeZone.getDefault:()Ljava/util/TimeZone;
goto 2
1: StackMap locals:
StackMap stack: io.dropwizard.logging.AbstractAppenderFactory
aload 1
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
2: StackMap locals: io.dropwizard.logging.AbstractAppenderFactory java.lang.String
StackMap stack: io.dropwizard.logging.AbstractAppenderFactory java.util.TimeZone
putfield io.dropwizard.logging.AbstractAppenderFactory.timeZone:Ljava/util/TimeZone;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 4 1 zoneId Ljava/lang/String;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
zoneId
public void setTimeZone(java.util.TimeZone);
descriptor: (Ljava/util/TimeZone;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.timeZone:Ljava/util/TimeZone;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 timeZone Ljava/util/TimeZone;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
timeZone
public boolean isIncludeCallerData();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.includeCallerData:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setIncludeCallerData(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.includeCallerData:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 includeCallerData Z
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
includeCallerData
public java.util.List<io.dropwizard.logging.filter.FilterFactory<E>> getFilterFactories();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.filterFactories:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
Signature: ()Ljava/util/List<Lio/dropwizard/logging/filter/FilterFactory<TE;>;>;
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
public void setFilterFactories(java.util.List<io.dropwizard.logging.filter.FilterFactory<E>>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield io.dropwizard.logging.AbstractAppenderFactory.filterFactories:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 appenders Ljava/util/List<Lio/dropwizard/logging/filter/FilterFactory<TE;>;>;
Signature: (Ljava/util/List<Lio/dropwizard/logging/filter/FilterFactory<TE;>;>;)V
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
appenders
public void setNeverBlock(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.neverBlock:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 neverBlock Z
RuntimeVisibleAnnotations:
com.fasterxml.jackson.annotation.JsonProperty()
MethodParameters:
Name Flags
neverBlock
public io.dropwizard.logging.layout.DiscoverableLayoutFactory<?> getLayout();
descriptor: ()Lio/dropwizard/logging/layout/DiscoverableLayoutFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.layout:Lio/dropwizard/logging/layout/DiscoverableLayoutFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
Signature: ()Lio/dropwizard/logging/layout/DiscoverableLayoutFactory<*>;
RuntimeVisibleAnnotations:
javax.annotation.Nullable()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
javax.annotation.Nullable()
public void setLayout(io.dropwizard.logging.layout.DiscoverableLayoutFactory<E>);
descriptor: (Lio/dropwizard/logging/layout/DiscoverableLayoutFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.logging.AbstractAppenderFactory.layout:Lio/dropwizard/logging/layout/DiscoverableLayoutFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 2 1 layout Lio/dropwizard/logging/layout/DiscoverableLayoutFactory<TE;>;
Signature: (Lio/dropwizard/logging/layout/DiscoverableLayoutFactory<TE;>;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
layout
protected ch.qos.logback.core.Appender<E> wrapAsync(ch.qos.logback.core.Appender<E>, io.dropwizard.logging.async.AsyncAppenderFactory<E>);
descriptor: (Lch/qos/logback/core/Appender;Lio/dropwizard/logging/async/AsyncAppenderFactory;)Lch/qos/logback/core/Appender;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 1
invokeinterface ch.qos.logback.core.Appender.getContext:()Lch/qos/logback/core/Context;
invokevirtual io.dropwizard.logging.AbstractAppenderFactory.wrapAsync:(Lch/qos/logback/core/Appender;Lio/dropwizard/logging/async/AsyncAppenderFactory;Lch/qos/logback/core/Context;)Lch/qos/logback/core/Appender;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 1 1 appender Lch/qos/logback/core/Appender<TE;>;
0 1 2 asyncAppenderFactory Lio/dropwizard/logging/async/AsyncAppenderFactory<TE;>;
Signature: (Lch/qos/logback/core/Appender<TE;>;Lio/dropwizard/logging/async/AsyncAppenderFactory<TE;>;)Lch/qos/logback/core/Appender<TE;>;
MethodParameters:
Name Flags
appender
asyncAppenderFactory
protected ch.qos.logback.core.Appender<E> wrapAsync(ch.qos.logback.core.Appender<E>, io.dropwizard.logging.async.AsyncAppenderFactory<E>, ch.qos.logback.core.Context);
descriptor: (Lch/qos/logback/core/Appender;Lio/dropwizard/logging/async/AsyncAppenderFactory;Lch/qos/logback/core/Context;)Lch/qos/logback/core/Appender;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface io.dropwizard.logging.async.AsyncAppenderFactory.build:()Lch/qos/logback/core/AsyncAppenderBase;
astore 4
start local 4 1: aload 4
instanceof ch.qos.logback.classic.AsyncAppender
ifeq 3
2: aload 4
checkcast ch.qos.logback.classic.AsyncAppender
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.includeCallerData:Z
invokevirtual ch.qos.logback.classic.AsyncAppender.setIncludeCallerData:(Z)V
3: StackMap locals: ch.qos.logback.core.AsyncAppenderBase
StackMap stack:
aload 4
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.queueSize:I
invokevirtual ch.qos.logback.core.AsyncAppenderBase.setQueueSize:(I)V
4: aload 4
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.discardingThreshold:I
invokevirtual ch.qos.logback.core.AsyncAppenderBase.setDiscardingThreshold:(I)V
5: aload 4
aload 3
invokevirtual ch.qos.logback.core.AsyncAppenderBase.setContext:(Lch/qos/logback/core/Context;)V
6: aload 4
new java.lang.StringBuilder
dup
ldc "async-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface ch.qos.logback.core.Appender.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual ch.qos.logback.core.AsyncAppenderBase.setName:(Ljava/lang/String;)V
7: aload 4
aload 1
invokevirtual ch.qos.logback.core.AsyncAppenderBase.addAppender:(Lch/qos/logback/core/Appender;)V
8: aload 4
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.neverBlock:Z
invokevirtual ch.qos.logback.core.AsyncAppenderBase.setNeverBlock:(Z)V
9: aload 4
invokevirtual ch.qos.logback.core.AsyncAppenderBase.start:()V
10: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.messageRate:Lio/dropwizard/util/Duration;
ifnonnull 12
11: aload 4
areturn
12: StackMap locals:
StackMap stack:
new io.dropwizard.logback.ThrottlingAppenderWrapper
dup
aload 4
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.messageRate:Lio/dropwizard/util/Duration;
invokevirtual io.dropwizard.util.Duration.getQuantity:()J
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.messageRate:Lio/dropwizard/util/Duration;
invokevirtual io.dropwizard.util.Duration.getUnit:()Ljava/util/concurrent/TimeUnit;
invokespecial io.dropwizard.logback.ThrottlingAppenderWrapper.<init>:(Lch/qos/logback/core/AsyncAppenderBase;JLjava/util/concurrent/TimeUnit;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 13 1 appender Lch/qos/logback/core/Appender<TE;>;
0 13 2 asyncAppenderFactory Lio/dropwizard/logging/async/AsyncAppenderFactory<TE;>;
0 13 3 context Lch/qos/logback/core/Context;
1 13 4 asyncAppender Lch/qos/logback/core/AsyncAppenderBase<TE;>;
Signature: (Lch/qos/logback/core/Appender<TE;>;Lio/dropwizard/logging/async/AsyncAppenderFactory<TE;>;Lch/qos/logback/core/Context;)Lch/qos/logback/core/Appender<TE;>;
MethodParameters:
Name Flags
appender
asyncAppenderFactory
context
protected ch.qos.logback.core.LayoutBase<E> buildLayout(ch.qos.logback.classic.LoggerContext, io.dropwizard.logging.layout.LayoutFactory<E>);
descriptor: (Lch/qos/logback/classic/LoggerContext;Lio/dropwizard/logging/layout/LayoutFactory;)Lch/qos/logback/core/LayoutBase;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.layout:Lio/dropwizard/logging/layout/DiscoverableLayoutFactory;
ifnonnull 3
1: aload 2
aload 1
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.timeZone:Ljava/util/TimeZone;
invokeinterface io.dropwizard.logging.layout.LayoutFactory.build:(Lch/qos/logback/classic/LoggerContext;Ljava/util/TimeZone;)Lch/qos/logback/core/pattern/PatternLayoutBase;
astore 3
start local 3 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.layout:Lio/dropwizard/logging/layout/DiscoverableLayoutFactory;
aload 1
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.timeZone:Ljava/util/TimeZone;
invokeinterface io.dropwizard.logging.layout.DiscoverableLayoutFactory.build:(Lch/qos/logback/classic/LoggerContext;Ljava/util/TimeZone;)Lch/qos/logback/core/LayoutBase;
astore 3
start local 3 4: StackMap locals: ch.qos.logback.core.LayoutBase
StackMap stack:
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.logFormat:Ljava/lang/String;
invokestatic io.dropwizard.util.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifne 10
5: aload 3
instanceof ch.qos.logback.core.pattern.PatternLayoutBase
ifeq 9
6: aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.logFormat:Ljava/lang/String;
ldc "%dwTimeZone"
aload 0
getfield io.dropwizard.logging.AbstractAppenderFactory.timeZone:Ljava/util/TimeZone;
invokevirtual java.util.TimeZone.getID:()Ljava/lang/String;
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 4
start local 4 7: aload 3
checkcast ch.qos.logback.core.pattern.PatternLayoutBase
aload 4
invokevirtual ch.qos.logback.core.pattern.PatternLayoutBase.setPattern:(Ljava/lang/String;)V
end local 4 8: goto 10
9: StackMap locals:
StackMap stack:
getstatic io.dropwizard.logging.AbstractAppenderFactory.LOGGER:Lorg/slf4j/Logger;
ldc "Ignoring 'logFormat', because 'layout' does not extend PatternLayoutBase"
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual ch.qos.logback.core.LayoutBase.start:()V
11: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/dropwizard/logging/AbstractAppenderFactory<TE;>;
0 12 1 context Lch/qos/logback/classic/LoggerContext;
0 12 2 defaultLayoutFactory Lio/dropwizard/logging/layout/LayoutFactory<TE;>;
2 3 3 layoutBase Lch/qos/logback/core/LayoutBase<TE;>;
4 12 3 layoutBase Lch/qos/logback/core/LayoutBase<TE;>;
7 8 4 logFormatWithTimeZone Ljava/lang/String;
Signature: (Lch/qos/logback/classic/LoggerContext;Lio/dropwizard/logging/layout/LayoutFactory<TE;>;)Lch/qos/logback/core/LayoutBase<TE;>;
MethodParameters:
Name Flags
context
defaultLayoutFactory
}
Signature: <E::Lch/qos/logback/core/spi/DeferredProcessingAware;>Ljava/lang/Object;Lio/dropwizard/logging/AppenderFactory<TE;>;
SourceFile: "AbstractAppenderFactory.java"