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 example MemoryRequestServer is simple but demonstrates one of many ways to manage continuous requests for larger memory.Fields in org.apache.datasketches.memory declared as MemoryRequestServer Modifier and Type Field Description static MemoryRequestServerResource. defaultMemReqSvrThe default MemoryRequestServer is used if not specified by the user.Methods in org.apache.datasketches.memory that return MemoryRequestServer Modifier and Type Method Description MemoryRequestServerResource. getMemoryRequestServer()Gets the MemoryRequestServer object, if set, for the below resources to request additional memory.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 WritableMemoryWritableMemory. allocateDirect(long capacityBytes, ByteOrder byteOrder, MemoryRequestServer memReqSvr)Allocates and provides access to capacityBytes directly in off-heap memory.voidResource. setMemoryRequestServer(MemoryRequestServer memReqSvr)Sets the Default MemoryRequestServerstatic WritableBufferWritableBuffer. writableWrap(ByteBuffer byteBuffer, ByteOrder byteOrder, MemoryRequestServer memReqSvr)Provides a view of 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)Provides a view of the given ByteBuffer for write operations.
-