public <T, U, R, E extends Exception> R performFunction(ExceptionBiFunction<T, U, R, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
public <T, U, E extends Exception> void performConsumer(ExceptionBiConsumer<T, U, E> consumer, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { consumer.accept(param1, param2); return; } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { consumer.accept(param1, param2); } } }
public <T, E extends Exception> void performConsumer(ExceptionObjIntConsumer<T, E> consumer, T param1, int param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { consumer.accept(param1, param2); return; } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { consumer.accept(param1, param2); } } }
public <T, U, E extends Exception> int performToIntFunction(ExceptionToIntBiFunction<T, U, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
public <T, U, E extends Exception> int performToIntFunction(ExceptionToIntBiFunction<T, U, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
public <T, U, R, E extends Exception> R performFunction(ExceptionBiFunction<T, U, R, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
public <T, E extends Exception> void performConsumer(ExceptionObjIntConsumer<T, E> consumer, T param1, int param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { consumer.accept(param1, param2); return; } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { consumer.accept(param1, param2); } } }
public <T, U, E extends Exception> void performConsumer(ExceptionBiConsumer<T, U, E> consumer, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { consumer.accept(param1, param2); return; } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { consumer.accept(param1, param2); } } }
public <T, U, E extends Exception> void performConsumer(ExceptionBiConsumer<T, U, E> consumer, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { consumer.accept(param1, param2); return; } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { consumer.accept(param1, param2); } } }
public <T, U, R, E extends Exception> R performFunction(ExceptionBiFunction<T, U, R, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }
public <T, E extends Exception> void performConsumer(ExceptionObjIntConsumer<T, E> consumer, T param1, int param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { consumer.accept(param1, param2); return; } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { consumer.accept(param1, param2); } } }
public <T, U, E extends Exception> int performToIntFunction(ExceptionToIntBiFunction<T, U, E> function, T param1, U param2) throws E, SystemException { final ContextTransactionManager tm = ContextTransactionManager.INSTANCE; if (Objects.equals(tm.getStateRef().get().transaction, this)) { return function.apply(param1, param2); } try (SysExTry ignored = whileSuspended()) { try (SysExTry ignored2 = whileResumed(this)) { return function.apply(param1, param2); } } }