Interface ByteBufAllocatorWithOomHandler
-
- All Superinterfaces:
io.netty.buffer.ByteBufAllocator
- All Known Implementing Classes:
ByteBufAllocatorImpl
public interface ByteBufAllocatorWithOomHandler extends io.netty.buffer.ByteBufAllocator
A ByteBufAllocatr interface with a OOM handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setOomHandler(java.util.function.Consumer<java.lang.OutOfMemoryError> handler)
-
Methods inherited from interface io.netty.buffer.ByteBufAllocator
buffer, buffer, buffer, calculateNewCapacity, compositeBuffer, compositeBuffer, compositeDirectBuffer, compositeDirectBuffer, compositeHeapBuffer, compositeHeapBuffer, directBuffer, directBuffer, directBuffer, heapBuffer, heapBuffer, heapBuffer, ioBuffer, ioBuffer, ioBuffer, isDirectBufferPooled
-
-