public interface BufferListener
Modifier and Type | Method and Description |
---|---|
boolean |
notifyBufferAvailable(Buffer buffer)
Notification callback if a buffer is recycled and becomes available in buffer pool.
|
void |
notifyBufferDestroyed()
Notification callback if the buffer provider is destroyed.
|
boolean notifyBufferAvailable(Buffer buffer)
buffer
- buffer that becomes available in buffer pool.void notifyBufferDestroyed()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.