Class StatementlessConnectionEvent

All Implemented Interfaces:
DurationAwareEvent, Event, Serializable

public class StatementlessConnectionEvent extends ConnectionEvent implements DurationAwareEvent
The StatementlessConnectionEvent indicates that a JDBC Connection was borrowed without executing any SQL statement. Borrowing a JDBC Connection from the pool without executing any SQL statement should be avoided as it deprives other concurrent requests of using this connection.
Since:
2.3.0
Author:
Vlad Mihalcea
See Also:
  • Constructor Details

    • StatementlessConnectionEvent

      public StatementlessConnectionEvent(long connectionUsageTimeNanos)
      Instantiate the event using the provided parameters.
      Parameters:
      connectionUsageTimeNanos - connection usage time
  • Method Details