Package org.lwjgl.system.jemalloc
Class ExtentHooks.Buffer
- java.lang.Object
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<ExtentHooks,ExtentHooks.Buffer>
-
- org.lwjgl.system.jemalloc.ExtentHooks.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, java.lang.Iterable<ExtentHooks>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
- Enclosing class:
- ExtentHooks
public static class ExtentHooks.Buffer extends org.lwjgl.system.StructBuffer<ExtentHooks,ExtentHooks.Buffer> implements org.lwjgl.system.NativeResource
An array ofExtentHooksstructs.
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newExtentHooks.Bufferinstance backed by the specified container.Buffer(long address, int cap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ExtentAllocalloc()Returns the value of theallocfield.ExtentHooks.Bufferalloc(ExtentAllocI value)Sets the specified value to theallocfield.ExtentCommitcommit()Returns the value of thecommitfield.ExtentHooks.Buffercommit(ExtentCommitI value)Sets the specified value to thecommitfield.ExtentDallocdalloc()Returns the value of thedallocfield.ExtentHooks.Bufferdalloc(ExtentDallocI value)Sets the specified value to thedallocfield.ExtentDecommitdecommit()Returns the value of thedecommitfield.ExtentHooks.Bufferdecommit(ExtentDecommitI value)Sets the specified value to thedecommitfield.ExtentDestroydestroy()Returns the value of thedestroyfield.ExtentHooks.Bufferdestroy(ExtentDestroyI value)Sets the specified value to thedestroyfield.ExtentMergemerge()Returns the value of themergefield.ExtentHooks.Buffermerge(ExtentMergeI value)Sets the specified value to themergefield.ExtentPurgepurge_forced()Returns the value of thepurge_forcedfield.ExtentHooks.Bufferpurge_forced(ExtentPurgeI value)Sets the specified value to thepurge_forcedfield.ExtentPurgepurge_lazy()Returns the value of thepurge_lazyfield.ExtentHooks.Bufferpurge_lazy(ExtentPurgeI value)Sets the specified value to thepurge_lazyfield.intsizeof()ExtentSplitsplit()Returns the value of thesplitfield.ExtentHooks.Buffersplit(ExtentSplitI value)Sets the specified value to thesplitfield.-
Methods inherited from class org.lwjgl.system.StructBuffer
forEach, get, get, get, get, iterator, parallelStream, put, put, spliterator, stream
-
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
-
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newExtentHooks.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byExtentHooks.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.CustomBuffer<ExtentHooks.Buffer>
-
alloc
public ExtentAlloc alloc()
Returns the value of theallocfield.
-
dalloc
@Nullable public ExtentDalloc dalloc()
Returns the value of thedallocfield.
-
destroy
@Nullable public ExtentDestroy destroy()
Returns the value of thedestroyfield.
-
commit
@Nullable public ExtentCommit commit()
Returns the value of thecommitfield.
-
decommit
@Nullable public ExtentDecommit decommit()
Returns the value of thedecommitfield.
-
purge_lazy
@Nullable public ExtentPurge purge_lazy()
Returns the value of thepurge_lazyfield.
-
purge_forced
@Nullable public ExtentPurge purge_forced()
Returns the value of thepurge_forcedfield.
-
split
@Nullable public ExtentSplit split()
Returns the value of thesplitfield.
-
merge
@Nullable public ExtentMerge merge()
Returns the value of themergefield.
-
alloc
public ExtentHooks.Buffer alloc(ExtentAllocI value)
Sets the specified value to theallocfield.
-
dalloc
public ExtentHooks.Buffer dalloc(@Nullable ExtentDallocI value)
Sets the specified value to thedallocfield.
-
destroy
public ExtentHooks.Buffer destroy(@Nullable ExtentDestroyI value)
Sets the specified value to thedestroyfield.
-
commit
public ExtentHooks.Buffer commit(@Nullable ExtentCommitI value)
Sets the specified value to thecommitfield.
-
decommit
public ExtentHooks.Buffer decommit(@Nullable ExtentDecommitI value)
Sets the specified value to thedecommitfield.
-
purge_lazy
public ExtentHooks.Buffer purge_lazy(@Nullable ExtentPurgeI value)
Sets the specified value to thepurge_lazyfield.
-
purge_forced
public ExtentHooks.Buffer purge_forced(@Nullable ExtentPurgeI value)
Sets the specified value to thepurge_forcedfield.
-
split
public ExtentHooks.Buffer split(@Nullable ExtentSplitI value)
Sets the specified value to thesplitfield.
-
merge
public ExtentHooks.Buffer merge(@Nullable ExtentMergeI value)
Sets the specified value to themergefield.
-
-