public class io.vertx.reactivex.ext.sql.impl.InTransactionObservable<T> implements io.reactivex.ObservableTransformer<T, T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.reactivex.ext.sql.impl.InTransactionObservable
super_class: java.lang.Object
{
private final io.vertx.reactivex.ext.sql.SQLConnection sqlConnection;
descriptor: Lio/vertx/reactivex/ext/sql/SQLConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.vertx.reactivex.ext.sql.SQLConnection);
descriptor: (Lio/vertx/reactivex/ext/sql/SQLConnection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.vertx.reactivex.ext.sql.impl.InTransactionObservable.sqlConnection:Lio/vertx/reactivex/ext/sql/SQLConnection;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/reactivex/ext/sql/impl/InTransactionObservable<TT;>;
0 3 1 sqlConnection Lio/vertx/reactivex/ext/sql/SQLConnection;
MethodParameters:
Name Flags
sqlConnection
public io.reactivex.ObservableSource<T> apply(io.reactivex.Observable<T>);
descriptor: (Lio/reactivex/Observable;)Lio/reactivex/ObservableSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.reactivex.ext.sql.impl.InTransactionObservable.sqlConnection:Lio/vertx/reactivex/ext/sql/SQLConnection;
iconst_0
invokevirtual io.vertx.reactivex.ext.sql.SQLConnection.rxSetAutoCommit:(Z)Lio/reactivex/Completable;
1: aload 1
invokevirtual io.reactivex.Completable.andThen:(Lio/reactivex/ObservableSource;)Lio/reactivex/Observable;
2: aload 0
getfield io.vertx.reactivex.ext.sql.impl.InTransactionObservable.sqlConnection:Lio/vertx/reactivex/ext/sql/SQLConnection;
invokevirtual io.vertx.reactivex.ext.sql.SQLConnection.rxCommit:()Lio/reactivex/Completable;
invokevirtual io.reactivex.Completable.toObservable:()Lio/reactivex/Observable;
invokevirtual io.reactivex.Observable.concatWith:(Lio/reactivex/ObservableSource;)Lio/reactivex/Observable;
3: aload 0
invokedynamic apply(Lio/vertx/reactivex/ext/sql/impl/InTransactionObservable;)Lio/reactivex/functions/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
io/vertx/reactivex/ext/sql/impl/InTransactionObservable.lambda$0(Ljava/lang/Throwable;)Lio/reactivex/ObservableSource; (7)
(Ljava/lang/Throwable;)Lio/reactivex/ObservableSource;
invokevirtual io.reactivex.Observable.onErrorResumeNext:(Lio/reactivex/functions/Function;)Lio/reactivex/Observable;
4: aload 0
getfield io.vertx.reactivex.ext.sql.impl.InTransactionObservable.sqlConnection:Lio/vertx/reactivex/ext/sql/SQLConnection;
iconst_1
invokevirtual io.vertx.reactivex.ext.sql.SQLConnection.rxSetAutoCommit:(Z)Lio/reactivex/Completable;
invokevirtual io.reactivex.Completable.toObservable:()Lio/reactivex/Observable;
invokevirtual io.reactivex.Observable.concatWith:(Lio/reactivex/ObservableSource;)Lio/reactivex/Observable;
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/vertx/reactivex/ext/sql/impl/InTransactionObservable<TT;>;
0 6 1 upstream Lio/reactivex/Observable<TT;>;
Signature: (Lio/reactivex/Observable<TT;>;)Lio/reactivex/ObservableSource<TT;>;
MethodParameters:
Name Flags
upstream
private io.reactivex.ObservableSource lambda$0(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Lio/reactivex/ObservableSource;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.reactivex.ext.sql.impl.InTransactionObservable.sqlConnection:Lio/vertx/reactivex/ext/sql/SQLConnection;
invokevirtual io.vertx.reactivex.ext.sql.SQLConnection.rxRollback:()Lio/reactivex/Completable;
invokevirtual io.reactivex.Completable.onErrorComplete:()Lio/reactivex/Completable;
1: aload 0
getfield io.vertx.reactivex.ext.sql.impl.InTransactionObservable.sqlConnection:Lio/vertx/reactivex/ext/sql/SQLConnection;
iconst_1
invokevirtual io.vertx.reactivex.ext.sql.SQLConnection.rxSetAutoCommit:(Z)Lio/reactivex/Completable;
invokevirtual io.reactivex.Completable.onErrorComplete:()Lio/reactivex/Completable;
invokevirtual io.reactivex.Completable.andThen:(Lio/reactivex/CompletableSource;)Lio/reactivex/Completable;
2: aload 1
invokestatic io.reactivex.Observable.error:(Ljava/lang/Throwable;)Lio/reactivex/Observable;
invokevirtual io.reactivex.Completable.andThen:(Lio/reactivex/ObservableSource;)Lio/reactivex/Observable;
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/reactivex/ext/sql/impl/InTransactionObservable<TT;>;
0 4 1 throwable Ljava/lang/Throwable;
Exceptions:
throws java.lang.Exception
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lio/reactivex/ObservableTransformer<TT;TT;>;
SourceFile: "InTransactionObservable.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles