Index
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
- address() - Method in interface org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFProg
- AF_UNIX - Static variable in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
-
socket domain indicating unix file socket
- ALL_THREADS - Enum constant in enum class org.elasticsearch.nativeaccess.NativeAccess.ExecSandboxState
-
Exec is blocked for all current and future threads
- allocatedSizeInBytes(Path) - Method in interface org.elasticsearch.nativeaccess.NativeAccess
-
Retrieves the actual number of bytes of disk storage used to store a specified file.
- AssignProcessToJobObject(Kernel32Library.Handle, Kernel32Library.Handle) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
-
Associates a process with an existing job https://msdn.microsoft.com/en-us/library/windows/desktop/ms681949%28v=vs.85%29.aspx
B
- BaseAddress() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.MemoryBasicInformation
- buffer() - Method in interface org.elasticsearch.nativeaccess.CloseableByteBuffer
-
Returns the wrapped
ByteBuffer
. - bytesalloc() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.FStore
C
- close() - Method in interface org.elasticsearch.nativeaccess.CloseableByteBuffer
- close(int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
-
Close a file descriptor
- 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
- code() - Method in record class org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFilter
-
Returns the value of the
code
record component. - 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
intodst
at compression levellevel
, 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.
- connect(int, PosixCLibrary.SockAddr) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
-
Connect a socket to an address.
- CreateJobObjectW() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
-
Creates or opens a new job object https://msdn.microsoft.com/en-us/library/windows/desktop/ms682409%28v=vs.85%29.aspx Note: the two params to this are omitted because all implementations pass null for them both
- 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
intodst
, 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
- enableNativeAccess(ModuleLayer.Controller, Module) - Static method in class org.elasticsearch.nativeaccess.NativeAccessUtil
-
Enables native access for the provided module.
- equals(Object) - Method in record class org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFilter
-
Indicates whether some other object is "equal to" this one.
- 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.
- EXISTING_THREADS - Enum constant in enum class org.elasticsearch.nativeaccess.NativeAccess.ExecSandboxState
-
Exec is blocked for threads that were already created
F
- fallocate(int, int, long, long) - Method in interface org.elasticsearch.nativeaccess.lib.LinuxCLibrary
- fcntl(int, int, PosixCLibrary.FStore) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
- fstat64(int, PosixCLibrary.Stat64) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
- ftruncate(int, long) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
G
- GetCompressedFileSizeW(String, IntConsumer) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
-
Retrieves the actual number of bytes of disk storage used to store a specified file.
- 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.
- getExecSandboxState() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
-
Return whether installing the exec system call filters was successful, and to what degree.
- 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 class org.elasticsearch.nativeaccess.jdk.JdkVectorLibrary
- 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.lib.LinuxCLibrary.SockFilter
-
Returns a hash code value for this object.
- 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.
- isNativeAccessEnabled(Module) - Static method in class org.elasticsearch.nativeaccess.NativeAccessUtil
J
- JavaLibrary - Interface in org.elasticsearch.nativeaccess.lib
- JdkNativeLibraryProvider - Class in org.elasticsearch.nativeaccess.jdk
- JdkNativeLibraryProvider() - Constructor for class org.elasticsearch.nativeaccess.jdk.JdkNativeLibraryProvider
- JdkVectorLibrary - Class in org.elasticsearch.nativeaccess.jdk
- JdkVectorLibrary() - Constructor for class org.elasticsearch.nativeaccess.jdk.JdkVectorLibrary
- jf() - Method in record class org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFilter
-
Returns the value of the
jf
record component. - jt() - Method in record class org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFilter
-
Returns the value of the
jt
record component.
K
- k() - Method in record class org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFilter
-
Returns the value of the
k
record component. - Kernel32Library - Interface in org.elasticsearch.nativeaccess.lib
- Kernel32Library.Address - Interface in org.elasticsearch.nativeaccess.lib
- Kernel32Library.Handle - Interface in org.elasticsearch.nativeaccess.lib
- Kernel32Library.JobObjectBasicLimitInformation - Interface in org.elasticsearch.nativeaccess.lib
-
Basic limit information for a job object https://msdn.microsoft.com/en-us/library/windows/desktop/ms684147%28v=vs.85%29.aspx
- Kernel32Library.MemoryBasicInformation - Interface in org.elasticsearch.nativeaccess.lib
-
Contains information about a range of pages in the virtual address space of a process.
L
- LinkerHelperUtil - Class in org.elasticsearch.nativeaccess.jdk
- LinuxCLibrary - Interface in org.elasticsearch.nativeaccess.lib
- LinuxCLibrary.SockFilter - Record Class in org.elasticsearch.nativeaccess.lib
-
Corresponds to struct sock_filter
- LinuxCLibrary.SockFProg - Interface in org.elasticsearch.nativeaccess.lib
- LoaderHelper - Class in org.elasticsearch.nativeaccess.lib
-
A utility for loading libraries from Elasticsearch's platform specific lib dir.
- loadLibrary(String) - Static method in class org.elasticsearch.nativeaccess.lib.LoaderHelper
M
- MacCLibrary - Interface in org.elasticsearch.nativeaccess.lib
- MacCLibrary.ErrorReference - Interface in org.elasticsearch.nativeaccess.lib
- 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.
- NativeAccess.ExecSandboxState - Enum Class in org.elasticsearch.nativeaccess
-
Possible stats for execution filtering.
- NativeAccessModuleExportsService - Class in org.elasticsearch.nativeaccess.exports
- NativeAccessModuleExportsService() - Constructor for class org.elasticsearch.nativeaccess.exports.NativeAccessModuleExportsService
- NativeAccessUtil - Class in org.elasticsearch.nativeaccess
- NativeAccessUtil() - Constructor for class org.elasticsearch.nativeaccess.NativeAccessUtil
- 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
. - newErrorReference() - Method in interface org.elasticsearch.nativeaccess.lib.MacCLibrary
- newFStore() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
- newJobObjectBasicLimitInformation() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
- 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.
- newSockFProg(LinuxCLibrary.SockFilter[]) - Method in interface org.elasticsearch.nativeaccess.lib.LinuxCLibrary
- newStat64(int, int, int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
- newUnixSockAddr(String) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
-
Create a sockaddr for the AF_UNIX family.
- NONE - Enum constant in enum class org.elasticsearch.nativeaccess.NativeAccess.ExecSandboxState
-
No execution filtering
- 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
- open(String, int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
- open(String, int, int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
- 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.jdk - package org.elasticsearch.nativeaccess.jdk
- org.elasticsearch.nativeaccess.lib - package org.elasticsearch.nativeaccess.lib
P
- platformLibDir - Static variable in class org.elasticsearch.nativeaccess.lib.LoaderHelper
- PosixCLibrary - Interface in org.elasticsearch.nativeaccess.lib
-
Provides access to methods in libc.so available on POSIX systems.
- PosixCLibrary.FStore - Interface in org.elasticsearch.nativeaccess.lib
- PosixCLibrary.RLimit - Interface in org.elasticsearch.nativeaccess.lib
-
corresponds to struct rlimit
- PosixCLibrary.SockAddr - Interface in org.elasticsearch.nativeaccess.lib
-
Marker interface for sockaddr struct implementations.
- PosixCLibrary.Stat64 - Interface in org.elasticsearch.nativeaccess.lib
-
corresponds to struct stat64
- prctl(int, long, long, long, long) - Method in interface org.elasticsearch.nativeaccess.lib.LinuxCLibrary
-
maps to prctl(2)
- 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
Q
- QueryInformationJobObject(Kernel32Library.Handle, int, Kernel32Library.JobObjectBasicLimitInformation) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
-
Get job limit and state information https://msdn.microsoft.com/en-us/library/windows/desktop/ms684925%28v=vs.85%29.aspx Note: The infoLength parameter is omitted because implementions handle passing it Note: The returnLength parameter is omitted because all implementations pass null
R
- RegionSize() - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.MemoryBasicInformation
- rlim_cur() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.RLimit
- rlim_cur(long) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.RLimit
- rlim_max() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.RLimit
- rlim_max(long) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.RLimit
S
- sandbox_free_error(MacCLibrary.ErrorReference) - Method in interface org.elasticsearch.nativeaccess.lib.MacCLibrary
-
releases memory when an error occurs during initialization (e.g.
- sandbox_init(String, long, MacCLibrary.ErrorReference) - Method in interface org.elasticsearch.nativeaccess.lib.MacCLibrary
-
maps to sandbox_init(3), since Leopard
- send(int, CloseableByteBuffer, int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
-
Send a message to a socket.
- set_flags(int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.FStore
- set_length(long) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.FStore
- set_offset(long) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.FStore
- set_posmode(int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.FStore
- setActiveProcessLimit(int) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.JobObjectBasicLimitInformation
- 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.
- SetInformationJobObject(Kernel32Library.Handle, int, Kernel32Library.JobObjectBasicLimitInformation) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library
-
Set job limit and state information https://msdn.microsoft.com/en-us/library/windows/desktop/ms686216%28v=vs.85%29.aspx Note: The infoLength parameter is omitted because implementions handle passing it
- setLimitFlags(int) - Method in interface org.elasticsearch.nativeaccess.lib.Kernel32Library.JobObjectBasicLimitInformation
- 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.
- setrlimit(int, PosixCLibrary.RLimit) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
- SOCK_DGRAM - Static variable in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
-
socket type indicating a datagram-oriented socket
- socket(int, int, int) - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary
-
Open a file descriptor to connect to a socket.
- SockFilter(short, byte, byte, int) - Constructor for record class org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFilter
-
Creates an instance of a
SockFilter
record class. - squareDistanceHandle7u() - Method in interface org.elasticsearch.nativeaccess.VectorSimilarityFunctions
-
Produces a method handle returning the square distance of byte (unsigned int7) vectors.
- st_blocks() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.Stat64
- st_size() - Method in interface org.elasticsearch.nativeaccess.lib.PosixCLibrary.Stat64
- 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.
- syscall(long, int, int, long) - Method in interface org.elasticsearch.nativeaccess.lib.LinuxCLibrary
-
used to call seccomp(2), its too new...
- systemd() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
- Systemd - Class in org.elasticsearch.nativeaccess
-
Wraps access to notifications to systemd.
T
- toString() - Method in record class org.elasticsearch.nativeaccess.lib.LinuxCLibrary.SockFilter
-
Returns a string representation of this record class.
- toString() - Method in record class org.elasticsearch.nativeaccess.ProcessLimits
-
Returns a string representation of this record class.
- tryInstallExecSandbox() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
-
Attempts to install a system call filter to block process execution.
- tryLockMemory() - Method in interface org.elasticsearch.nativeaccess.NativeAccess
-
Attempt to lock this process's virtual memory address space into physical RAM.
- tryPreallocate(Path, long) - Method in interface org.elasticsearch.nativeaccess.NativeAccess
- 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
- valueOf(String) - Static method in enum class org.elasticsearch.nativeaccess.NativeAccess.ExecSandboxState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.elasticsearch.nativeaccess.NativeAccess.ExecSandboxState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- 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
All Classes and Interfaces|All Packages|Constant Field Values