Skip navigation links
A B C D F G H I L M N O P R S T U 

A

ADDRESS_SIZE - Static variable in class com.yahoo.memory.UnsafeUtil
 
AllocMemory - Class in com.yahoo.memory
The AllocMemory class is a subclass of NativeMemory and is used to allocate direct, off-heap native memory, which is then accessed by the NativeMemory methods.
AllocMemory(long) - Constructor for class com.yahoo.memory.AllocMemory
Constructor for allocate native memory.
AllocMemory(long, MemoryRequest) - Constructor for class com.yahoo.memory.AllocMemory
Constructor for allocate native memory with MemoryRequest.
AllocMemory(NativeMemory, long, MemoryRequest) - Constructor for class com.yahoo.memory.AllocMemory
Constructor for reallocate native memory.
AllocMemory(NativeMemory, long, long, MemoryRequest) - Constructor for class com.yahoo.memory.AllocMemory
Constructor for allocate native memory, copy and clear.
array() - Method in interface com.yahoo.memory.Memory
Returns the backing on-heap primitive array if there is one, otherwise returns null
array() - Method in class com.yahoo.memory.MemoryRegion
 
array() - Method in class com.yahoo.memory.MemoryRegionR
 
array() - Method in class com.yahoo.memory.NativeMemory
 
ARRAY_BOOLEAN_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_BOOLEAN_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_BYTE_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_BYTE_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_CHAR_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_CHAR_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_DOUBLE_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_DOUBLE_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_FLOAT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_FLOAT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_INT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_INT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_LONG_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_LONG_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_OBJECT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_OBJECT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_SHORT_BASE_OFFSET - Static variable in class com.yahoo.memory.UnsafeUtil
 
ARRAY_SHORT_INDEX_SCALE - Static variable in class com.yahoo.memory.UnsafeUtil
 
asReadOnlyMemory() - Method in interface com.yahoo.memory.Memory
Returns a read-only version of this memory
asReadOnlyMemory() - Method in class com.yahoo.memory.MemoryRegion
 
asReadOnlyMemory() - Method in class com.yahoo.memory.NativeMemory
 
assertBounds(long, long, long) - Static method in class com.yahoo.memory.UnsafeUtil
Perform bounds checking using java assert (if enabled) checking the requested offset and length against the allocated size.

B

binarySearchLongs(Memory, int, int, long) - Static method in class com.yahoo.memory.MemoryUtil
Searches a range of the specified array of longs for the specified value using the binary search algorithm.
BOOLEAN_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
BYTE_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
byteBuf_ - Variable in class com.yahoo.memory.NativeMemory
 
byteBuffer() - Method in interface com.yahoo.memory.Memory
Returns the backing ByteBuffer if there is one, otherwise returns null
byteBuffer() - Method in class com.yahoo.memory.MemoryRegion
 
byteBuffer() - Method in class com.yahoo.memory.MemoryRegionR
 
byteBuffer() - Method in class com.yahoo.memory.NativeMemory
 

C

capacityBytes_ - Variable in class com.yahoo.memory.NativeMemory
 
CHAR_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
checkOverlap(long, long, long) - Static method in class com.yahoo.memory.UnsafeUtil
Return true if the given offsets and length do not overlap.
clear() - Method in interface com.yahoo.memory.Memory
Clears all bytes of this Memory to zero
clear(long, long) - Method in interface com.yahoo.memory.Memory
Clears a portion of this Memory to zero.
clear() - Method in class com.yahoo.memory.MemoryRegion
 
clear(long, long) - Method in class com.yahoo.memory.MemoryRegion
 
clear() - Method in class com.yahoo.memory.MemoryRegionR
 
clear(long, long) - Method in class com.yahoo.memory.MemoryRegionR
 
clear() - Method in class com.yahoo.memory.NativeMemory
 
clear(long, long) - Method in class com.yahoo.memory.NativeMemory
 
clearBits(long, byte) - Method in interface com.yahoo.memory.Memory
Clears the bits defined by the bitMask
clearBits(long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
clearBits(long, byte) - Method in class com.yahoo.memory.MemoryRegionR
 
clearBits(long, byte) - Method in class com.yahoo.memory.NativeMemory
 
com.yahoo.memory - package com.yahoo.memory
The memory package contains classes that extend the Java Unsafe class and provide direct primitive and array access to off-heap memory as well as compatible views into heap-based arrays and the Java ByteBuffer class.
copy(long, long, long) - Method in interface com.yahoo.memory.Memory
Copies bytes from a source region of this Memory to a destination region of this Memory.
copy(long, long, long) - Method in class com.yahoo.memory.MemoryRegion
 
copy(long, long, long) - Method in class com.yahoo.memory.MemoryRegionR
 
copy(Memory, long, Memory, long, long) - Static method in class com.yahoo.memory.MemoryUtil
Deprecated.
copy(long, long, long) - Method in class com.yahoo.memory.NativeMemory
 
copy(Memory, long, Memory, long, long) - Static method in class com.yahoo.memory.NativeMemory
Copies bytes from a source Memory to the destination Memory.

D

DOUBLE_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 

F

fill(byte) - Method in interface com.yahoo.memory.Memory
Fills all bytes of this Memory region to the given byte value.
fill(long, long, byte) - Method in interface com.yahoo.memory.Memory
Fills a portion of this Memory region to the given byte value.
fill(byte) - Method in class com.yahoo.memory.MemoryRegion
 
fill(long, long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
fill(long, long, byte) - Method in class com.yahoo.memory.MemoryRegionR
 
fill(byte) - Method in class com.yahoo.memory.MemoryRegionR
 
fill(byte) - Method in class com.yahoo.memory.NativeMemory
 
fill(long, long, byte) - Method in class com.yahoo.memory.NativeMemory
 
finalize() - Method in class com.yahoo.memory.MemoryMappedFile
If the JVM calls this method and a "freeMemory() has not been called" a System.err message will be logged.
FLOAT_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
force() - Method in class com.yahoo.memory.MemoryMappedFile
Forces any changes made to this content to be written to the storage device containing the mapped file.
free(Memory) - Method in interface com.yahoo.memory.MemoryRequest
The given Memory with its capacity is to be freed
free(Memory, Memory) - Method in interface com.yahoo.memory.MemoryRequest
The given memToFree with its capacity is to be freed.
freeMemory() - Method in class com.yahoo.memory.AllocMemory
 
freeMemory() - Method in class com.yahoo.memory.MemoryMappedFile
 
freeMemory() - Method in class com.yahoo.memory.NativeMemory
This frees this Memory only if it is required.

G

getAddress(long) - Method in interface com.yahoo.memory.Memory
Returns the start address of this Memory relative to its parent plus the offset in bytes.
getAddress(long) - Method in class com.yahoo.memory.MemoryRegion
Returns the start address of this Memory relative to its parent plus the given offsetBytes.
getAddress(long) - Method in class com.yahoo.memory.NativeMemory
Returns the Unsafe address plus the given offsetBytes.
getAndAddInt(long, int) - Method in interface com.yahoo.memory.Memory
Atomically adds the given value to the integer located at offsetBytes.
getAndAddInt(long, int) - Method in class com.yahoo.memory.MemoryRegion
 
getAndAddInt(long, int) - Method in class com.yahoo.memory.MemoryRegionR
 
getAndAddInt(long, int) - Method in class com.yahoo.memory.NativeMemory
 
getAndAddLong(long, long) - Method in interface com.yahoo.memory.Memory
Atomically adds the given value to the long located at offsetBytes.
getAndAddLong(long, long) - Method in class com.yahoo.memory.MemoryRegion
 
getAndAddLong(long, long) - Method in class com.yahoo.memory.MemoryRegionR
 
getAndAddLong(long, long) - Method in class com.yahoo.memory.NativeMemory
 
getAndSetInt(long, int) - Method in interface com.yahoo.memory.Memory
Atomically exchanges the given value with the current value located at offsetBytes.
getAndSetInt(long, int) - Method in class com.yahoo.memory.MemoryRegion
 
getAndSetInt(long, int) - Method in class com.yahoo.memory.MemoryRegionR
 
getAndSetInt(long, int) - Method in class com.yahoo.memory.NativeMemory
 
getAndSetLong(long, long) - Method in interface com.yahoo.memory.Memory
Atomically exchanges the given value with the current value located at offsetBytes.
getAndSetLong(long, long) - Method in class com.yahoo.memory.MemoryRegion
 
getAndSetLong(long, long) - Method in class com.yahoo.memory.MemoryRegionR
 
getAndSetLong(long, long) - Method in class com.yahoo.memory.NativeMemory
 
getBoolean(long) - Method in interface com.yahoo.memory.Memory
Gets the boolean value at the given offset
getBoolean(long) - Method in class com.yahoo.memory.MemoryRegion
 
getBoolean(long) - Method in class com.yahoo.memory.NativeMemory
 
getBooleanArray(long, boolean[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the boolean array at the given offset
getBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
getByte(long) - Method in interface com.yahoo.memory.Memory
Gets the byte at the given offset
getByte(long) - Method in class com.yahoo.memory.MemoryRegion
 
getByte(long) - Method in class com.yahoo.memory.NativeMemory
 
getByteArray(long, byte[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the byte array at the given offset
getByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
getCapacity() - Method in interface com.yahoo.memory.Memory
Gets the capacity of this Memory in bytes
getCapacity() - Method in class com.yahoo.memory.MemoryRegion
 
getCapacity() - Method in class com.yahoo.memory.NativeMemory
 
getChar(long) - Method in interface com.yahoo.memory.Memory
Gets the char at the given offset
getChar(long) - Method in class com.yahoo.memory.MemoryRegion
 
getChar(long) - Method in class com.yahoo.memory.NativeMemory
 
getCharArray(long, char[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the char array at the given offset
getCharArray(long, char[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getCharArray(long, char[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
getCumulativeOffset(long) - Method in interface com.yahoo.memory.Memory
Returns the cumulative offset in bytes of this Memory from the base Memory including the given offset.
getCumulativeOffset(long) - Method in class com.yahoo.memory.MemoryRegion
 
getCumulativeOffset(long) - Method in class com.yahoo.memory.NativeMemory
 
getDouble(long) - Method in interface com.yahoo.memory.Memory
Gets the double at the given offset
getDouble(long) - Method in class com.yahoo.memory.MemoryRegion
 
getDouble(long) - Method in class com.yahoo.memory.NativeMemory
 
getDoubleArray(long, double[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the double array at the given offset
getDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
getFloat(long) - Method in interface com.yahoo.memory.Memory
Gets the float at the given offset
getFloat(long) - Method in class com.yahoo.memory.MemoryRegion
 
getFloat(long) - Method in class com.yahoo.memory.NativeMemory
 
getFloatArray(long, float[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the float array at the given offset
getFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
getInt(long) - Method in interface com.yahoo.memory.Memory
Gets the int at the given offset
getInt(long) - Method in class com.yahoo.memory.MemoryRegion
 
getInt(long) - Method in class com.yahoo.memory.NativeMemory
 
getIntArray(long, int[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the int array at the given offset
getIntArray(long, int[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getIntArray(long, int[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
getLong(long) - Method in interface com.yahoo.memory.Memory
Gets the long at the given offset
getLong(long) - Method in class com.yahoo.memory.MemoryRegion
 
getLong(long) - Method in class com.yahoo.memory.NativeMemory
 
getLongArray(long, long[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the long array at the given offset
getLongArray(long, long[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getLongArray(long, long[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
getMemoryRequest() - Method in interface com.yahoo.memory.Memory
Returns a MemoryRequest or null
getMemoryRequest() - Method in class com.yahoo.memory.MemoryRegion
 
getMemoryRequest() - Method in class com.yahoo.memory.NativeMemory
 
getNativeMemory() - Method in interface com.yahoo.memory.Memory
Returns the root NativeMemory, which could also be the derived MemoryMappedFile or AllocMemory.
getNativeMemory() - Method in class com.yahoo.memory.MemoryRegion
 
getNativeMemory() - Method in class com.yahoo.memory.MemoryRegionR
 
getNativeMemory() - Method in class com.yahoo.memory.NativeMemory
 
getParent() - Method in interface com.yahoo.memory.Memory
Gets the parent Memory or backing array.
getParent() - Method in class com.yahoo.memory.MemoryRegion
 
getParent() - Method in class com.yahoo.memory.MemoryRegionR
 
getParent() - Method in class com.yahoo.memory.NativeMemory
 
getShort(long) - Method in interface com.yahoo.memory.Memory
Gets the short at the given offset
getShort(long) - Method in class com.yahoo.memory.MemoryRegion
 
getShort(long) - Method in class com.yahoo.memory.NativeMemory
 
getShortArray(long, short[], int, int) - Method in interface com.yahoo.memory.Memory
Gets the short array at the given offset
getShortArray(long, short[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
getShortArray(long, short[], int, int) - Method in class com.yahoo.memory.NativeMemory
 

H

hasArray() - Method in interface com.yahoo.memory.Memory
Returns true if this Memory is backed by an on-heap primitive array
hasArray() - Method in class com.yahoo.memory.MemoryRegion
 
hasArray() - Method in class com.yahoo.memory.NativeMemory
 
hasByteBuffer() - Method in interface com.yahoo.memory.Memory
Returns true if this Memory is backed by a ByteBuffer
hasByteBuffer() - Method in class com.yahoo.memory.MemoryRegion
 
hasByteBuffer() - Method in class com.yahoo.memory.NativeMemory
 

I

INT_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
isAllBitsClear(long, byte) - Method in interface com.yahoo.memory.Memory
Returns true if all bits defined by the bitMask are clear
isAllBitsClear(long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
isAllBitsClear(long, byte) - Method in class com.yahoo.memory.NativeMemory
 
isAllBitsSet(long, byte) - Method in interface com.yahoo.memory.Memory
Returns true if all bits defined by the bitMask are set
isAllBitsSet(long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
isAllBitsSet(long, byte) - Method in class com.yahoo.memory.NativeMemory
 
isAllocated() - Method in interface com.yahoo.memory.Memory
Returns true if this Memory has a capacity greater than zero
isAllocated() - Method in class com.yahoo.memory.MemoryRegion
 
isAllocated() - Method in class com.yahoo.memory.NativeMemory
 
isAnyBitsClear(long, byte) - Method in interface com.yahoo.memory.Memory
Returns true if any bits defined by the bitMask are clear
isAnyBitsClear(long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
isAnyBitsClear(long, byte) - Method in class com.yahoo.memory.NativeMemory
 
isAnyBitsSet(long, byte) - Method in interface com.yahoo.memory.Memory
Returns true if any bits defined by the bitMask are set
isAnyBitsSet(long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
isAnyBitsSet(long, byte) - Method in class com.yahoo.memory.NativeMemory
 
isDirect() - Method in interface com.yahoo.memory.Memory
Returns true if the backing memory is direct (off-heap) memory.
isDirect() - Method in class com.yahoo.memory.MemoryRegion
 
isDirect() - Method in class com.yahoo.memory.NativeMemory
 
isLoaded() - Method in class com.yahoo.memory.MemoryMappedFile
Tells whether or not the content is resident in physical memory.
isReadOnly() - Method in interface com.yahoo.memory.Memory
Returns true if this Memory is read only
isReadOnly() - Method in class com.yahoo.memory.MemoryRegion
 
isReadOnly() - Method in class com.yahoo.memory.MemoryRegionR
 
isReadOnly() - Method in class com.yahoo.memory.NativeMemory
 

L

load() - Method in class com.yahoo.memory.MemoryMappedFile
Loads content into physical memory.
LONG_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 
LS - Static variable in class com.yahoo.memory.UnsafeUtil
 

M

memArray_ - Variable in class com.yahoo.memory.NativeMemory
 
Memory - Interface in com.yahoo.memory
The Memory interface defines get and put methods for all Java primitive and primitive array types to/from a byte offset that is relative to the base address of some object or region of native memory defined by the implementing class.
MemoryMappedFile - Class in com.yahoo.memory
MemoryMappedFile class extends NativeMemory and is used to memory map files (including those > 2GB) off heap.
MemoryMappedFile(File, long, long) - Constructor for class com.yahoo.memory.MemoryMappedFile
Constructor for memory mapping a file.
MemoryRegion - Class in com.yahoo.memory
The MemoryRegion class implements the Memory interface and provides a means of hierarchically partitioning a large block of native memory into smaller regions of memory, each with their own capacity and offsets.
MemoryRegion(Memory, long, long) - Constructor for class com.yahoo.memory.MemoryRegion
Defines a region of the given parent Memory by defining an offset and capacity that are within the boundaries of the parent.
MemoryRegion(Memory, long, long, MemoryRequest) - Constructor for class com.yahoo.memory.MemoryRegion
Defines a region of the given parent Memory by defining an offset and capacity that are within the boundaries of the parent.
MemoryRegionR - Class in com.yahoo.memory
Read-only version of MemoryRegion
MemoryRegionR(Memory, long, long, MemoryRequest) - Constructor for class com.yahoo.memory.MemoryRegionR
 
MemoryRequest - Interface in com.yahoo.memory
The MemoryRequest is a callback interface that is accessible from the Memory interface and provides a means for a Memory object to request more memory from the calling class and to free Memory that is no longer needed.
MemoryUtil - Class in com.yahoo.memory
Useful utilities that work with Memory.
memReq_ - Variable in class com.yahoo.memory.NativeMemory
 

N

NativeMemory - Class in com.yahoo.memory
The NativeMemory class implements the Memory interface and is used to access Java byte arrays, long arrays and ByteBuffers by presenting them as arguments to the constructors of this class.
NativeMemory(long, Object, ByteBuffer) - Constructor for class com.yahoo.memory.NativeMemory
 
NativeMemory(byte[]) - Constructor for class com.yahoo.memory.NativeMemory
Provides access to the given byteArray using Memory interface
NativeMemory(long[]) - Constructor for class com.yahoo.memory.NativeMemory
Provides access to the given longArray using Memory interface
NativeMemory(ByteBuffer) - Constructor for class com.yahoo.memory.NativeMemory
Provides access to the backing store of the given ByteBuffer using Memory interface
nativeRawStartAddress_ - Variable in class com.yahoo.memory.NativeMemory
 

O

objectBaseOffset_ - Variable in class com.yahoo.memory.NativeMemory
 

P

putBoolean(long, boolean) - Method in interface com.yahoo.memory.Memory
Puts the boolean value at the given offset
putBoolean(long, boolean) - Method in class com.yahoo.memory.MemoryRegion
 
putBoolean(long, boolean) - Method in class com.yahoo.memory.MemoryRegionR
 
putBoolean(long, boolean) - Method in class com.yahoo.memory.NativeMemory
 
putBooleanArray(long, boolean[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the boolean array at the given offset
putBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putBooleanArray(long, boolean[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
putByte(long, byte) - Method in interface com.yahoo.memory.Memory
Puts the byte value at the given offset
putByte(long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
putByte(long, byte) - Method in class com.yahoo.memory.MemoryRegionR
 
putByte(long, byte) - Method in class com.yahoo.memory.NativeMemory
 
putByteArray(long, byte[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the byte array at the given offset
putByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putByteArray(long, byte[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
putChar(long, char) - Method in interface com.yahoo.memory.Memory
Puts the char value at the given offset
putChar(long, char) - Method in class com.yahoo.memory.MemoryRegion
 
putChar(long, char) - Method in class com.yahoo.memory.MemoryRegionR
 
putChar(long, char) - Method in class com.yahoo.memory.NativeMemory
 
putCharArray(long, char[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the char array at the given offset
putCharArray(long, char[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putCharArray(long, char[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putCharArray(long, char[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
putDouble(long, double) - Method in interface com.yahoo.memory.Memory
Puts the double value at the given offset
putDouble(long, double) - Method in class com.yahoo.memory.MemoryRegion
 
putDouble(long, double) - Method in class com.yahoo.memory.MemoryRegionR
 
putDouble(long, double) - Method in class com.yahoo.memory.NativeMemory
 
putDoubleArray(long, double[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the double array at the given offset
putDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putDoubleArray(long, double[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
putFloat(long, float) - Method in interface com.yahoo.memory.Memory
Puts the float value at the given offset
putFloat(long, float) - Method in class com.yahoo.memory.MemoryRegion
 
putFloat(long, float) - Method in class com.yahoo.memory.MemoryRegionR
 
putFloat(long, float) - Method in class com.yahoo.memory.NativeMemory
 
putFloatArray(long, float[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the float array at the given offset
putFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putFloatArray(long, float[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
putInt(long, int) - Method in interface com.yahoo.memory.Memory
Puts the int value at the given offset
putInt(long, int) - Method in class com.yahoo.memory.MemoryRegion
 
putInt(long, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putInt(long, int) - Method in class com.yahoo.memory.NativeMemory
 
putIntArray(long, int[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the int array at the given offset
putIntArray(long, int[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putIntArray(long, int[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putIntArray(long, int[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
putLong(long, long) - Method in interface com.yahoo.memory.Memory
Puts the long value at the given offset
putLong(long, long) - Method in class com.yahoo.memory.MemoryRegion
 
putLong(long, long) - Method in class com.yahoo.memory.MemoryRegionR
 
putLong(long, long) - Method in class com.yahoo.memory.NativeMemory
 
putLongArray(long, long[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the long array at the given offset
putLongArray(long, long[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putLongArray(long, long[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putLongArray(long, long[], int, int) - Method in class com.yahoo.memory.NativeMemory
 
putShort(long, short) - Method in interface com.yahoo.memory.Memory
Puts the short value at the given offset
putShort(long, short) - Method in class com.yahoo.memory.MemoryRegion
 
putShort(long, short) - Method in class com.yahoo.memory.MemoryRegionR
 
putShort(long, short) - Method in class com.yahoo.memory.NativeMemory
 
putShortArray(long, short[], int, int) - Method in interface com.yahoo.memory.Memory
Puts the short array at the given offset
putShortArray(long, short[], int, int) - Method in class com.yahoo.memory.MemoryRegion
 
putShortArray(long, short[], int, int) - Method in class com.yahoo.memory.MemoryRegionR
 
putShortArray(long, short[], int, int) - Method in class com.yahoo.memory.NativeMemory
 

R

ReadOnlyMemoryException - Exception in com.yahoo.memory
The exception thrown by the write methods of the read-only classes.
ReadOnlyMemoryException() - Constructor for exception com.yahoo.memory.ReadOnlyMemoryException
 
reassign(long, long) - Method in class com.yahoo.memory.MemoryRegion
Reassign the offset and capacity of this MemoryRegion
request(long) - Method in interface com.yahoo.memory.MemoryRequest
Request new Memory with the given capacity.
request(Memory, long, long) - Method in interface com.yahoo.memory.MemoryRequest
Request for allocate, copy and clear.
requiresFree() - Method in class com.yahoo.memory.NativeMemory
Returns true if the object requires being freed.

S

setBits(long, byte) - Method in interface com.yahoo.memory.Memory
Sets the bits defined by the bitMask
setBits(long, byte) - Method in class com.yahoo.memory.MemoryRegion
 
setBits(long, byte) - Method in class com.yahoo.memory.MemoryRegionR
 
setBits(long, byte) - Method in class com.yahoo.memory.NativeMemory
 
setMemoryRequest(MemoryRequest) - Method in interface com.yahoo.memory.Memory
Sets a MemoryRequest
setMemoryRequest(MemoryRequest) - Method in class com.yahoo.memory.MemoryRegion
 
setMemoryRequest(MemoryRequest) - Method in class com.yahoo.memory.MemoryRegionR
 
setMemoryRequest(MemoryRequest) - Method in class com.yahoo.memory.NativeMemory
 
SHORT_SHIFT - Static variable in class com.yahoo.memory.UnsafeUtil
 

T

toHexString(String, long, int) - Method in interface com.yahoo.memory.Memory
Returns a formatted hex string of an area of this Memory.
toHexString(String, long, int) - Method in class com.yahoo.memory.MemoryRegion
 
toHexString(String, long, int) - Method in class com.yahoo.memory.NativeMemory
 

U

unsafe - Static variable in class com.yahoo.memory.UnsafeUtil
 
UNSAFE_COPY_THRESHOLD - Static variable in class com.yahoo.memory.UnsafeUtil
This number limits the number of bytes to copy per call to Unsafe's copyMemory method.
UnsafeUtil - Class in com.yahoo.memory
Provides access to the sun.misc.Unsafe class and its key static fields.
A B C D F G H I L M N O P R S T U 
Skip navigation links

Copyright © 2015–2016 Yahoo! Inc.. All rights reserved.