Interface LazyTableCreation.Creation<T>

Type Parameters:
T - What the creation answers.
Enclosing class:
LazyTableCreation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface LazyTableCreation.Creation<T>
The work of one creation.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates what is absent on a connection the caller holds, and commits it.
  • Method Details

    • create

      T create() throws SQLException
      Creates what is absent on a connection the caller holds, and commits it. A table another thread of this server created while this one waited for its turn exists by now: a creation looks for its table again before it creates it.
      Returns:
      The creation's answer.
      Throws:
      SQLException - For SQL errors.