Uses of Interface
org.apache.datasketches.memory.MemoryRequestServer
-
-
Uses of MemoryRequestServer in org.apache.datasketches.memory
Classes in org.apache.datasketches.memory that implement MemoryRequestServer Modifier and Type Class Description classDefaultMemoryRequestServerThis is a simple implementation of the MemoryRequestServer that creates space on the Java heap for the requesting application.Fields in org.apache.datasketches.memory declared as MemoryRequestServer Modifier and Type Field Description static MemoryRequestServerBaseState. defaultMemReqSvrThe placeholder for the default MemoryRequestServer, if set at all.Methods in org.apache.datasketches.memory that return MemoryRequestServer Modifier and Type Method Description MemoryRequestServerWritableBuffer. getMemoryRequestServer()WritableBuffer enables this for ByteBuffer backed resources.MemoryRequestServerWritableMemory. getMemoryRequestServer()WritableMemory enables this for ByteBuffer, Heap and Direct Memory backed resources.Methods in org.apache.datasketches.memory with parameters of type MemoryRequestServer Modifier and Type Method Description static WritableMemoryWritableMemory. allocate(int capacityBytes, ByteOrder byteOrder, MemoryRequestServer memReqSvr)Creates on-heap WritableMemory with the given capacity and the given byte order.static WritableHandleWritableMemory. allocateDirect(long capacityBytes, ByteOrder byteOrder, MemoryRequestServer memReqSvr)Allocates and provides access to capacityBytes directly in native (off-heap) memory.static WritableBufferWritableBuffer. writableWrap(ByteBuffer byteBuf, ByteOrder byteOrder, MemoryRequestServer memReqSvr)Accesses the given ByteBuffer for write operations.static WritableMemoryWritableMemory. writableWrap(byte[] array, int offsetBytes, int lengthBytes, ByteOrder byteOrder, MemoryRequestServer memReqSvr)Wraps the given primitive array for write operations with the given byte order.static WritableMemoryWritableMemory. writableWrap(ByteBuffer byteBuffer, ByteOrder byteOrder, MemoryRequestServer memReqSvr)Accesses the given ByteBuffer for write operations.
-