Module com.github.robtimus.pool
Package com.github.robtimus.pool
Interface PoolableObjectConsumer<T extends PoolableObject<X>,X extends Exception>
-
- Type Parameters:
T
- The type of object to operate on.X
- The type of exception that operations on objects can throw.
public interface PoolableObjectConsumer<T extends PoolableObject<X>,X extends Exception>
An operation that takes a singlePoolableObject
.- Author:
- Rob Spoor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(T object)
Performs this operation on the given argument.
-