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 Detail

      • apply

        default java.lang.Boolean apply​(DbStatement dbStatement)
        Specified by:
        apply in interface java.util.function.Function<DbStatement,​java.lang.Boolean>
      • runTransaction

        java.lang.Boolean runTransaction​(DbStatement stm)
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException