Class AbstractPooledMemoryAllocator

java.lang.Object
pcap.common.memory.internal.allocator.AbstractPooledMemoryAllocator
All Implemented Interfaces:
MemoryAllocator
Direct Known Subclasses:
PooledDirectMemoryAllocator, PooledHeapMemoryAllocator

public abstract class AbstractPooledMemoryAllocator
extends java.lang.Object
implements MemoryAllocator
  • Method Summary

    Modifier and Type Method Description
    Memory allocate​(int capacity)  
    Memory allocate​(int capacity, int maxCapacity)  
    Memory allocate​(int capacity, int maxCapacity, int readerIndex, int writerIndex)  
    boolean offer​(AbstractPooledByteBuffer buffer)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait