Interface CloseableSupplier<T>

  • All Superinterfaces:
    java.lang.AutoCloseable, java.util.function.Supplier<T>
    All Known Implementing Classes:
    PersistenceManagerCloseableSupplier

    public interface CloseableSupplier<T>
    extends java.util.function.Supplier<T>, java.lang.AutoCloseable
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void close()  
      • Methods inherited from interface java.util.function.Supplier

        get
    • Method Detail

      • close

        default void close()
        Specified by:
        close in interface java.lang.AutoCloseable