public abstract class IOPoolDecorator extends Object
IOPoolLocator
.
Implementations must be thread-safe.
Constructor and Description |
---|
IOPoolDecorator() |
Modifier and Type | Method and Description |
---|---|
abstract <B extends IOPool.Entry<B>> |
decorate(IOPool<B> pool)
Decorates the given I/O buffer pool.
|
int |
getPriority()
Returns a priority to help service locators to prioritize the services
provided by this object.
|
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
public abstract <B extends IOPool.Entry<B>> IOPool<B> decorate(IOPool<B> pool)
B
- the type of the I/O buffers managed by the pool.pool
- the I/O buffer pool to decorate.public int getPriority()
The implementation in the class IOPoolDecorator
returns zero.
Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.