Skip navigation links
A C D F G H L M N O P R S T U V W X 

A

address() - Method in class xerial.larray.buffer.LBufferAPI
Address of the data part of the allocated memory
address() - Method in interface xerial.larray.buffer.Memory
data-part address
address - Variable in class xerial.larray.buffer.MemoryReference
 
address() - Method in class xerial.larray.buffer.OffHeapMemory
 
address() - Method in class xerial.larray.buffer.WrappedLBuffer
 
allocate(long) - Method in class xerial.larray.buffer.DefaultMemoryAllocator
Allocate a memory of the specified byte length.
allocate(long) - Method in interface xerial.larray.buffer.MemoryAllocator
Allocate a memory of the specified byte length.
allocatedSize() - Method in class xerial.larray.buffer.DefaultMemoryAllocator
Get the total amount of allocated memory
allocatedSize() - Method in interface xerial.larray.buffer.MemoryAllocator
Get the total amount of allocated memories
allocator - Static variable in class xerial.larray.buffer.LBufferConfig
 
apply(int) - Method in class xerial.larray.buffer.LBufferAPI
Read a byte at offset
apply(long) - Method in class xerial.larray.buffer.LBufferAPI
Read a byte at offset

C

clear() - Method in class xerial.larray.buffer.LBufferAPI
Clear the buffer by filling with zeros
copyTo(int, byte[], int, int) - Method in class xerial.larray.buffer.LBufferAPI
Copy the contents of this buffer begginning from the srcOffset to a destination byte array
copyTo(long, LBufferAPI, long, long) - Method in class xerial.larray.buffer.LBufferAPI
Copy the contents of this buffer to the destination LBuffer

D

dataSize() - Method in interface xerial.larray.buffer.Memory
data-part size
dataSize() - Method in class xerial.larray.buffer.OffHeapMemory
 
DefaultMemoryAllocator - Class in xerial.larray.buffer
A default implementation of MemoryAllocator that allocates off-heap memory and releases allocated memories in a background thread.
DefaultMemoryAllocator() - Constructor for class xerial.larray.buffer.DefaultMemoryAllocator
 

F

fill(long, long, byte) - Method in class xerial.larray.buffer.LBufferAPI
Fill the buffer of the specified range with a given value

G

getByte(int) - Method in class xerial.larray.buffer.LBufferAPI
 
getByte(long) - Method in class xerial.larray.buffer.LBufferAPI
 
getChar(int) - Method in class xerial.larray.buffer.LBufferAPI
 
getChar(long) - Method in class xerial.larray.buffer.LBufferAPI
 
getDouble(int) - Method in class xerial.larray.buffer.LBufferAPI
 
getDouble(long) - Method in class xerial.larray.buffer.LBufferAPI
 
getFloat(int) - Method in class xerial.larray.buffer.LBufferAPI
 
getFloat(long) - Method in class xerial.larray.buffer.LBufferAPI
 
getInt(int) - Method in class xerial.larray.buffer.LBufferAPI
 
getInt(long) - Method in class xerial.larray.buffer.LBufferAPI
 
getLong(int) - Method in class xerial.larray.buffer.LBufferAPI
 
getLong(long) - Method in class xerial.larray.buffer.LBufferAPI
 
getShort(int) - Method in class xerial.larray.buffer.LBufferAPI
 
getShort(long) - Method in class xerial.larray.buffer.LBufferAPI
 
getUnsafe() - Static method in class xerial.larray.buffer.UnsafeUtil
 

H

HEADER_SIZE - Static variable in class xerial.larray.buffer.OffHeapMemory
 
headerAddress() - Method in interface xerial.larray.buffer.Memory
Allocated memory address
headerAddress() - Method in class xerial.larray.buffer.OffHeapMemory
 

L

LBuffer - Class in xerial.larray.buffer
Off-heap memory buffer of int and long type indexes.
LBuffer(long) - Constructor for class xerial.larray.buffer.LBuffer
Allocate a memory of the specified byte size
LBufferAPI - Class in xerial.larray.buffer
Defines common utility methods for accessing LBuffer
LBufferAPI() - Constructor for class xerial.larray.buffer.LBufferAPI
 
LBufferAPI(Memory) - Constructor for class xerial.larray.buffer.LBufferAPI
 
LBufferConfig - Class in xerial.larray.buffer
Holding the default memory allocator
LBufferConfig() - Constructor for class xerial.larray.buffer.LBufferConfig
 
loadFrom(File) - Static method in class xerial.larray.buffer.LBufferAPI
Create an LBuffer from a given file.

M

m - Variable in class xerial.larray.buffer.LBufferAPI
 
Memory - Interface in xerial.larray.buffer
Allocated memory information
MemoryAllocator - Interface in xerial.larray.buffer
Memory allocator interface
MemoryReference - Class in xerial.larray.buffer
Phantom reference to the allocated memory that will be queued to the ReferenceQueue upon GC time
MemoryReference(Memory, ReferenceQueue<Memory>) - Constructor for class xerial.larray.buffer.MemoryReference
Create a phantom reference

N

name() - Method in class xerial.larray.buffer.MemoryReference
 
name() - Method in class xerial.larray.buffer.OffHeapMemoryReference
 
newDirectByteBuffer(long, int, Object) - Static method in class xerial.larray.buffer.UnsafeUtil
Create a new DirectByteBuffer from a given address and size.

O

OffHeapMemory - Class in xerial.larray.buffer
Stores |(memory size:long)| data ...
OffHeapMemory() - Constructor for class xerial.larray.buffer.OffHeapMemory
Create an empty memory
OffHeapMemory(long) - Constructor for class xerial.larray.buffer.OffHeapMemory
 
OffHeapMemory(long, long) - Constructor for class xerial.larray.buffer.OffHeapMemory
 
OffHeapMemoryReference - Class in xerial.larray.buffer
 
OffHeapMemoryReference(Memory, ReferenceQueue<Memory>) - Constructor for class xerial.larray.buffer.OffHeapMemoryReference
Create a phantom reference
offset() - Method in class xerial.larray.buffer.LBufferAPI
 
offset() - Method in class xerial.larray.buffer.WrappedLBuffer
 

P

putByte(int, byte) - Method in class xerial.larray.buffer.LBufferAPI
 
putByte(long, byte) - Method in class xerial.larray.buffer.LBufferAPI
 
putChar(int, char) - Method in class xerial.larray.buffer.LBufferAPI
 
putChar(long, char) - Method in class xerial.larray.buffer.LBufferAPI
 
putDouble(int, double) - Method in class xerial.larray.buffer.LBufferAPI
 
putDouble(long, double) - Method in class xerial.larray.buffer.LBufferAPI
 
putFloat(int, float) - Method in class xerial.larray.buffer.LBufferAPI
 
putFloat(long, float) - Method in class xerial.larray.buffer.LBufferAPI
 
putInt(int, int) - Method in class xerial.larray.buffer.LBufferAPI
 
putInt(long, int) - Method in class xerial.larray.buffer.LBufferAPI
 
putLong(int, long) - Method in class xerial.larray.buffer.LBufferAPI
 
putLong(long, long) - Method in class xerial.larray.buffer.LBufferAPI
 
putShort(int, short) - Method in class xerial.larray.buffer.LBufferAPI
 
putShort(long, short) - Method in class xerial.larray.buffer.LBufferAPI
 

R

readFrom(byte[], long) - Method in class xerial.larray.buffer.LBufferAPI
Read the given source byte array, then overwrite this buffer's contents
readFrom(byte[], int, long, int) - Method in class xerial.larray.buffer.LBufferAPI
Read the given source byte array, then overwrite this buffer's contents
readFrom(ByteBuffer, long) - Method in class xerial.larray.buffer.LBufferAPI
Reads the given source byte buffer into this buffer at the given offset
register(Memory) - Method in class xerial.larray.buffer.DefaultMemoryAllocator
 
register(Memory) - Method in interface xerial.larray.buffer.MemoryAllocator
Register a memory
release(MemoryReference) - Method in class xerial.larray.buffer.DefaultMemoryAllocator
 
release(Memory) - Method in class xerial.larray.buffer.DefaultMemoryAllocator
 
release() - Method in class xerial.larray.buffer.LBufferAPI
Release the memory content.
release() - Method in interface xerial.larray.buffer.Memory
 
release(Memory) - Method in interface xerial.larray.buffer.MemoryAllocator
Release a memory
release(MemoryReference) - Method in interface xerial.larray.buffer.MemoryAllocator
Release a memory, referenced by ref
release() - Method in class xerial.larray.buffer.OffHeapMemory
 
releaseAll() - Method in class xerial.larray.buffer.DefaultMemoryAllocator
Release all memory addresses taken by this allocator.

S

size() - Method in class xerial.larray.buffer.LBufferAPI
Size of this buffer
size() - Method in interface xerial.larray.buffer.Memory
Allocated memory size
size() - Method in class xerial.larray.buffer.OffHeapMemory
 
size() - Method in class xerial.larray.buffer.WrappedLBuffer
 
slice(long, long) - Method in class xerial.larray.buffer.LBufferAPI
Extract a slice [from, to) of this buffer.

T

toArray() - Method in class xerial.larray.buffer.LBufferAPI
Convert this buffer to a java array.
toDirectByteBuffer(long, int) - Method in class xerial.larray.buffer.LBufferAPI
Gives a ByteBuffer view of the specified range.
toDirectByteBuffers() - Method in class xerial.larray.buffer.LBufferAPI
Gives an sequence of ByteBuffers.
toDirectByteBuffers(long, long) - Method in class xerial.larray.buffer.LBufferAPI
Gives an sequence of ByteBuffers of a specified range.
toMemory() - Method in class xerial.larray.buffer.MemoryReference
 
toMemory() - Method in class xerial.larray.buffer.OffHeapMemoryReference
 
toRef(ReferenceQueue<Memory>) - Method in interface xerial.larray.buffer.Memory
 
toRef(ReferenceQueue<Memory>) - Method in class xerial.larray.buffer.OffHeapMemory
 

U

unsafe - Static variable in class xerial.larray.buffer.UnsafeUtil
 
UnsafeUtil - Class in xerial.larray.buffer
Helper methods for using sun.misc.Unsafe.
UnsafeUtil() - Constructor for class xerial.larray.buffer.UnsafeUtil
 
update(int, byte) - Method in class xerial.larray.buffer.LBufferAPI
Set a byte at offset
update(long, byte) - Method in class xerial.larray.buffer.LBufferAPI
Set a byte at offset

V

view(long, long) - Method in class xerial.larray.buffer.LBufferAPI
Create a view of the range [from, to) of this buffer.

W

WrappedLBuffer - Class in xerial.larray.buffer
A subrange of memory
WrappedLBuffer(Memory, long, long) - Constructor for class xerial.larray.buffer.WrappedLBuffer
 
writeTo(FileChannel) - Method in class xerial.larray.buffer.LBufferAPI
Write the buffer contents to the given file channel.
writeTo(GatheringByteChannel) - Method in class xerial.larray.buffer.LBufferAPI
Writes the buffer contents to the given byte channel.
writeTo(WritableByteChannel) - Method in class xerial.larray.buffer.LBufferAPI
Writes the buffer contents to the given byte channel.
writeTo(File) - Method in class xerial.larray.buffer.LBufferAPI
Dump the buffer contents to a file

X

xerial.larray.buffer - package xerial.larray.buffer
 
A C D F G H L M N O P R S T U V W X 
Skip navigation links