public interface LocalBufferPoolOwner
GlobalBufferPool and
manages its fraction of the overall buffer pool locally by means of a LocalBufferPool.| Modifier and Type | Method and Description |
|---|---|
void |
clearLocalBufferPool()
Clears the local buffer pool and returns all buffers to the global buffer pool.
|
int |
getNumberOfChannels()
Returns the number of byte-buffered channels that will retrieve their buffers from the local buffer pool.
|
void |
logBufferUtilization()
Logs the current status of the local buffer pool.
|
void |
registerGlobalBufferPool(GlobalBufferPool globalBufferPool) |
void |
reportAsynchronousEvent()
Reports an asynchronous event.
|
void |
setDesignatedNumberOfBuffers(int numBuffers)
Sets the designated number of buffers the local buffer pool owner is allowed to fetch from the global buffer pool
and manage locally by means of the
LocalBufferPool. |
int getNumberOfChannels()
void setDesignatedNumberOfBuffers(int numBuffers)
LocalBufferPool.numBuffers - the numBuffers the local buffer pool owner is allowed to fetch from the global buffer poolvoid clearLocalBufferPool()
void registerGlobalBufferPool(GlobalBufferPool globalBufferPool)
void logBufferUtilization()
void reportAsynchronousEvent()
Copyright © 2014 The Apache Software Foundation. All rights reserved.