Package co.aikar.idb
Interface TransactionCallback
-
- All Superinterfaces:
java.util.function.Function<DbStatement,java.lang.Boolean>
public interface TransactionCallback extends java.util.function.Function<DbStatement,java.lang.Boolean>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.Booleanapply(DbStatement dbStatement)java.lang.BooleanrunTransaction(DbStatement stm)
-
-
-
Method Detail
-
apply
default java.lang.Boolean apply(DbStatement dbStatement)
- Specified by:
applyin interfacejava.util.function.Function<DbStatement,java.lang.Boolean>
-
runTransaction
java.lang.Boolean runTransaction(DbStatement stm) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-