Interface ConnectionPoolFilter<E extends ConnectionPool<?>>

Type Parameters:
E - the type of connection pools handled by this filter.

public interface ConnectionPoolFilter<E extends ConnectionPool<?>>
Interface for filtering connection pools.
Since:
4.2
Author:
Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accepts(E pool)
    Determine whether this filter accepts the specified connection pool.
  • Method Details

    • accepts

      boolean accepts(E pool)
      Determine whether this filter accepts the specified connection pool.
      Parameters:
      pool - the connection pool to check.
      Returns:
      true if the connection pool is accepted, false otherwise.