Index

A B C D E G H I J K M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

add(long) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.Address
 
addConsoleCtrlHandler(WindowsFunctions.ConsoleCtrlHandler) - Method in class org.elasticsearch.nativeaccess.WindowsFunctions
Adds a Console Ctrl Handler for Windows.
addExports(String, Module) - Method in class org.elasticsearch.nativeaccess.exports.NativeAccessModuleExportsService
 
addOpens(String, Module) - Method in class org.elasticsearch.nativeaccess.exports.NativeAccessModuleExportsService
 

B

BaseAddress() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.MemoryBasicInformation
 
buffer() - Method in interface org.elasticsearch.nativeaccess.CloseableByteBuffer
Returns the wrapped ByteBuffer.

C

close() - Method in interface org.elasticsearch.nativeaccess.CloseableByteBuffer
 
CloseableByteBuffer - Interface in org.elasticsearch.nativeaccess
A wrapper around a native ByteBuffer which allows that buffer to be closed synchronously.
CloseHandle(Kernel32Library.Handle) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
 
compress(CloseableByteBuffer, CloseableByteBuffer, int) - Method in interface org.elasticsearch.nativeaccess.lib.ZstdLibrary
 
compress(CloseableByteBuffer, CloseableByteBuffer, int) - Method in class org.elasticsearch.nativeaccess.Zstd
Compress the content of src into dst at compression level level, and return the number of compressed bytes.
compressBound(int) - Method in interface org.elasticsearch.nativeaccess.lib.ZstdLibrary
 
compressBound(int) - Method in class org.elasticsearch.nativeaccess.Zstd
Return the maximum number of compressed bytes given an input length.
CTRL_CLOSE_EVENT - Static variable in interface org.elasticsearch.nativeaccess.WindowsFunctions.ConsoleCtrlHandler
 

D

decompress(CloseableByteBuffer, CloseableByteBuffer) - Method in interface org.elasticsearch.nativeaccess.lib.ZstdLibrary
 
decompress(CloseableByteBuffer, CloseableByteBuffer) - Method in class org.elasticsearch.nativeaccess.Zstd
Compress the content of src into dst, and return the number of decompressed bytes.
definitelyRunningAsRoot() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
Determine whether this JVM is running as the root user.
dotProductHandle7u() - Method in interface org.elasticsearch.nativeaccess.VectorSimilarityFunctions
Produces a method handle returning the dot product of byte (unsigned int7) vectors.

E

equals(Object) - Method in record class org.elasticsearch.nativeaccess.ProcessLimits
Indicates whether some other object is "equal to" this one.
errno() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
Return the error number from the last failed C library call.

G

GetCurrentProcess() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
 
getErrorName(long) - Method in interface org.elasticsearch.nativeaccess.lib.ZstdLibrary
 
geteuid() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
Gets the effective userid of the current process.
GetLastError() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
 
getLibrary(Class<T>) - Method in class org.elasticsearch.nativeaccess.lib.NativeLibraryProvider
Construct an instance of the given library class.
getName() - Method in class org.elasticsearch.nativeaccess.lib.NativeLibraryProvider
Returns a human-understandable name for this provider
getProcessLimits() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
Return limits for the current process.
getrlimit(int, PosixCLibrary.RLimit) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
Retrieve the current rlimit values for the given resource.
getShortPathName(String) - Method in class org.elasticsearch.nativeaccess.WindowsFunctions
Retrieves the short path form of the specified path.
GetShortPathNameW(String, char[], int) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
Retrieves the short path form of the specified path.
getVectorSimilarityFunctions() - Method in interface org.elasticsearch.nativeaccess.lib.VectorLibrary
 
getVectorSimilarityFunctions() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
 
getWindowsFunctions() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
Returns an accessor for native functions only available on Windows, or null if not on Windows.
getZstd() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
Returns an accessor to zstd compression functions.

H

handle(int) - Method in interface org.elasticsearch.nativeaccess.WindowsFunctions.ConsoleCtrlHandler
Handles the Ctrl event.
hashCode() - Method in record class org.elasticsearch.nativeaccess.ProcessLimits
Returns a hash code value for this object.

I

instance() - Static method in class org.elasticsearch.nativeaccess.lib.NativeLibraryProvider
Get the one and only instance of NativeLibraryProvider that is specific to the running JDK version.
instance() - Static method in interface org.elasticsearch.nativeaccess.NativeAccess
Get the one and only instance of NativeAccess which is specific to the running platform and JVM.
isError(long) - Method in interface org.elasticsearch.nativeaccess.lib.ZstdLibrary
 
isMemoryLocked() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
Return whether locking memory was successful, or false otherwise.

J

JavaLibrary - Interface in org.elasticsearch.nativeaccess.lib
 

K

Kernel32Library - Interface in org.elasticsearch.nativeaccess.lib
 
Kernel32Library.Address - Interface in org.elasticsearch.nativeaccess.lib
 
Kernel32Library.Handle - Interface in org.elasticsearch.nativeaccess.lib
 
Kernel32Library.MemoryBasicInformation - Interface in org.elasticsearch.nativeaccess.lib
Contains information about a range of pages in the virtual address space of a process.

M

maxFileSize() - Method in record class org.elasticsearch.nativeaccess.ProcessLimits
Returns the value of the maxFileSize record component.
maxThreads() - Method in record class org.elasticsearch.nativeaccess.ProcessLimits
Returns the value of the maxThreads record component.
maxVirtualMemorySize() - Method in record class org.elasticsearch.nativeaccess.ProcessLimits
Returns the value of the maxVirtualMemorySize record component.
mlockall(int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
Lock all the current process's virtual address space into RAM.

N

NativeAccess - Interface in org.elasticsearch.nativeaccess
Provides access to native functionality needed by Elastisearch.
NativeAccessModuleExportsService - Class in org.elasticsearch.nativeaccess.exports
 
NativeAccessModuleExportsService() - Constructor for class org.elasticsearch.nativeaccess.exports.NativeAccessModuleExportsService
 
NativeLibrary - Interface in org.elasticsearch.nativeaccess.lib
A marker interface for libraries that can be loaded by NativeLibraryProvider
NativeLibraryProvider - Class in org.elasticsearch.nativeaccess.lib
Allows loading native library mappings.
NativeLibraryProvider(String, Map<Class<? extends NativeLibrary>, Supplier<NativeLibrary>>) - Constructor for class org.elasticsearch.nativeaccess.lib.NativeLibraryProvider
 
newBuffer(int) - Method in interface org.elasticsearch.nativeaccess.lib.JavaLibrary
 
newBuffer(int) - Method in interface org.elasticsearch.nativeaccess.NativeAccess
Creates a new CloseableByteBuffer.
newMemoryBasicInformation() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
Create a new MemoryBasicInformation for use by VirtualQuery and VirtualQueryEx
newRLimit() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
Create a new RLimit struct for use by getrlimit.
notify_extend_timeout(long) - Method in class org.elasticsearch.nativeaccess.Systemd
 
notify_ready() - Method in class org.elasticsearch.nativeaccess.Systemd
Notify systemd that the process is ready.
notify_stopping() - Method in class org.elasticsearch.nativeaccess.Systemd
 

O

org.elasticsearch.nativeaccess - module org.elasticsearch.nativeaccess
 
org.elasticsearch.nativeaccess - package org.elasticsearch.nativeaccess
 
org.elasticsearch.nativeaccess.exports - package org.elasticsearch.nativeaccess.exports
 
org.elasticsearch.nativeaccess.lib - package org.elasticsearch.nativeaccess.lib
 

P

PosixCLibrary - Interface in org.elasticsearch.nativeaccess.lib
Provides access to methods in libc.so available on POSIX systems.
PosixCLibrary.RLimit - Interface in org.elasticsearch.nativeaccess.lib
corresponds to struct rlimit
ProcessLimits - Record Class in org.elasticsearch.nativeaccess
Limits for the current process.
ProcessLimits(long, long, long) - Constructor for record class org.elasticsearch.nativeaccess.ProcessLimits
Creates an instance of a ProcessLimits record class.
Protect() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.MemoryBasicInformation
 

R

RegionSize() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.MemoryBasicInformation
 
rlim_cur() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.RLimit
 
rlim_max() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.RLimit
 

S

sd_notify(int, String) - Method in interface org.elasticsearch.nativeaccess.lib.SystemdLibrary
 
SetConsoleCtrlHandler(WindowsFunctions.ConsoleCtrlHandler, boolean) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
Native call to the Kernel32 API to set a new Console Ctrl Handler.
SetProcessWorkingSetSize(Kernel32Library.Handle, long, long) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
Sets the minimum and maximum working set sizes for the specified process.
squareDistanceHandle7u() - Method in interface org.elasticsearch.nativeaccess.VectorSimilarityFunctions
Produces a method handle returning the square distance of byte (unsigned int7) vectors.
State() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.MemoryBasicInformation
 
strerror(int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
Return a string description for an error.
systemd() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
 
Systemd - Class in org.elasticsearch.nativeaccess
 
SystemdLibrary - Interface in org.elasticsearch.nativeaccess.lib
 

T

toString() - Method in record class org.elasticsearch.nativeaccess.ProcessLimits
Returns a string representation of this record class.
tryLockMemory() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
Attempt to lock this process's virtual memory address space into physical RAM.
Type() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.MemoryBasicInformation
 

U

UNKNOWN - Static variable in record class org.elasticsearch.nativeaccess.ProcessLimits
 
UNLIMITED - Static variable in record class org.elasticsearch.nativeaccess.ProcessLimits
 

V

VectorLibrary - Interface in org.elasticsearch.nativeaccess.lib
A VectorLibrary is just an adaptation of the factory for a NativeLibrary.
VectorSimilarityFunctions - Interface in org.elasticsearch.nativeaccess
Utility interface providing vector similarity functions.
VirtualLock(Kernel32Library.Address, long) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
Locks the specified region of the process's virtual address space into physical memory, ensuring that subsequent access to the region will not incur a page fault.
VirtualQueryEx(Kernel32Library.Handle, Kernel32Library.Address, Kernel32Library.MemoryBasicInformation) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
Retrieves information about a range of pages within the virtual address space of a specified process.

W

WindowsFunctions - Class in org.elasticsearch.nativeaccess
Native functions specific to the Windows operating system.
WindowsFunctions.ConsoleCtrlHandler - Interface in org.elasticsearch.nativeaccess
Windows callback for console events

Z

Zstd - Class in org.elasticsearch.nativeaccess
 
ZstdLibrary - Interface in org.elasticsearch.nativeaccess.lib
 
A B C D E G H I J K M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values