Interface LockedPool.Factory<F>

Type Parameters:
F - the type of pooled objects
All Superinterfaces:
Pool.Factory<F>
Enclosing class:
LockedPool<P>

public static interface LockedPool.Factory<F> extends Pool.Factory<F>

A Pool.Factory that wraps newly created Pool instances with LockedPool.

  • Method Summary

    Modifier and Type
    Method
    Description
    default Pool<F>
    wrap(Pool<F> pool)
    Wraps, if necessary, the given pool.

    Methods inherited from interface org.eclipse.jetty.util.Pool.Factory

    newPool
  • Method Details

    • wrap

      default Pool<F> wrap(Pool<F> pool)
      Description copied from interface: Pool.Factory

      Wraps, if necessary, the given pool.

      Specified by:
      wrap in interface Pool.Factory<F>
      Parameters:
      pool - the pool to wrap
      Returns:
      a possibly wrapped pool
      See Also: