public class com.microsoft.sqlserver.jdbc.MaxResultBufferCounter implements com.microsoft.sqlserver.jdbc.ICounter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.microsoft.sqlserver.jdbc.MaxResultBufferCounter
super_class: java.lang.Object
{
private final java.util.logging.Logger logger;
descriptor: Ljava/util/logging/Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long counter;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final long maxResultBuffer;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "com.microsoft.sqlserver.jdbc.MaxResultBufferCounter"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.logger:Ljava/util/logging/Logger;
2: aload 0
lconst_0
putfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.counter:J
3: aload 0
lload 1
putfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.maxResultBuffer:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/microsoft/sqlserver/jdbc/MaxResultBufferCounter;
0 5 1 maxResultBuffer J
MethodParameters:
Name Flags
maxResultBuffer
public void increaseCounter(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.maxResultBuffer:J
lconst_0
lcmp
ifle 3
1: aload 0
dup
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.counter:J
lload 1
ladd
putfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.counter:J
2: aload 0
aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.counter:J
invokevirtual com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.checkForMaxResultBufferOverflow:(J)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/microsoft/sqlserver/jdbc/MaxResultBufferCounter;
0 4 1 bytes J
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
MethodParameters:
Name Flags
bytes
public void resetCounter();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
putfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.counter:J
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/sqlserver/jdbc/MaxResultBufferCounter;
private void checkForMaxResultBufferOverflow(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.maxResultBuffer:J
lcmp
ifle 6
1: aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
2: aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.logger:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "R_maxResultBufferPropertyExceeded"
invokestatic com.microsoft.sqlserver.jdbc.SQLServerException.getErrString:(Ljava/lang/String;)Ljava/lang/String;
3: iconst_2
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.maxResultBuffer:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
4: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals:
StackMap stack:
aload 0
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.counter:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.maxResultBuffer:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual com.microsoft.sqlserver.jdbc.MaxResultBufferCounter.throwExceededMaxResultBufferException:([Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/microsoft/sqlserver/jdbc/MaxResultBufferCounter;
0 7 1 number J
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
MethodParameters:
Name Flags
number
private void throwExceededMaxResultBufferException(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.text.MessageFormat
dup
ldc "R_maxResultBufferPropertyExceeded"
invokestatic com.microsoft.sqlserver.jdbc.SQLServerException.getErrString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: new com.microsoft.sqlserver.jdbc.SQLServerException
dup
aload 2
aload 1
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokespecial com.microsoft.sqlserver.jdbc.SQLServerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/microsoft/sqlserver/jdbc/MaxResultBufferCounter;
0 2 1 arguments [Ljava/lang/Object;
1 2 2 form Ljava/text/MessageFormat;
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
MethodParameters:
Name Flags
arguments
}
SourceFile: "MaxResultBufferCounter.java"