Class HeapMemoryAllocator

java.lang.Object
pcap.common.memory.internal.allocator.HeapMemoryAllocator
All Implemented Interfaces:
MemoryAllocator

@Inclubating
public final class HeapMemoryAllocator
extends java.lang.Object
implements MemoryAllocator
Author:
Ardika Rommy Sanjaya
  • Constructor Summary

    Constructors 
    Constructor Description
    HeapMemoryAllocator()  
  • 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)  

    Methods inherited from class java.lang.Object

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