Interface SQLManager.ConnectionConsumer
- Enclosing class:
SQLManager
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for connection consumers that may throw SQLException.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(Connection connection) Performs an operation using the given connection.
-
Method Details
-
accept
Performs an operation using the given connection.- Parameters:
connection- the database connection- Throws:
SQLException- if a database error occurs
-