public final class Library
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
APR_CHARSET_EBCDIC
Deprecated.
|
static boolean |
APR_FILES_AS_SOCKETS
Deprecated.
|
static boolean |
APR_HAS_DSO
Deprecated.
|
static boolean |
APR_HAS_FORK
Deprecated.
|
static boolean |
APR_HAS_LARGE_FILES
Deprecated.
|
static boolean |
APR_HAS_MMAP
Deprecated.
|
static boolean |
APR_HAS_OS_UUID
Deprecated.
|
static boolean |
APR_HAS_OTHER_CHILD
Deprecated.
|
static boolean |
APR_HAS_PROC_INVOKED
Deprecated.
|
static boolean |
APR_HAS_RANDOM
Deprecated.
|
static boolean |
APR_HAS_SENDFILE
Deprecated.
|
static boolean |
APR_HAS_SHARED_MEMORY
Deprecated.
|
static boolean |
APR_HAS_SO_ACCEPTFILTER
Deprecated.
|
static boolean |
APR_HAS_THREADS
Deprecated.
|
static boolean |
APR_HAS_UNICODE_FS
Deprecated.
|
static boolean |
APR_HAS_USER
Deprecated.
|
static boolean |
APR_HAS_XTHREAD_FILES
Deprecated.
|
static boolean |
APR_HAVE_IPV6
Deprecated.
|
static boolean |
APR_HAVE_UNIX
Deprecated.
|
static boolean |
APR_IS_BIGENDIAN
Deprecated.
|
static int |
APR_IS_DEV_VERSION |
static int |
APR_MAJOR_VERSION |
static int |
APR_MAX_IOVEC_SIZE
Deprecated.
|
static int |
APR_MAX_SECS_TO_LINGER
Deprecated.
|
static int |
APR_MINOR_VERSION |
static int |
APR_MMAP_LIMIT
Deprecated.
|
static int |
APR_MMAP_THRESHOLD
Deprecated.
|
static boolean |
APR_O_NONBLOCK_INHERITED
Deprecated.
|
static int |
APR_PATCH_VERSION |
static int |
APR_PATH_MAX
Deprecated.
|
static boolean |
APR_POLLSET_WAKEABLE
Deprecated.
|
static int |
APR_SIZEOF_VOIDP
Deprecated.
|
static boolean |
APR_TCP_NODELAY_INHERITED
Deprecated.
|
static int |
APRMAXHOSTLEN
Deprecated.
|
static int |
TCN_IS_DEV_VERSION |
static int |
TCN_MAJOR_VERSION |
static int |
TCN_MINOR_VERSION |
static int |
TCN_PATCH_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
aprVersionString() |
static long |
getGeneration() |
static long |
globalPool()
Deprecated.
|
static boolean |
initialize(java.lang.String libraryName)
Setup any APR internal data structures.
|
static void |
load(java.lang.String filename)
Deprecated.
Unused. Will be removed in Tomcat 10.1.x
|
static void |
loadLibrary(java.lang.String libname)
Deprecated.
Unused. Will be removed in Tomcat 10.1.x
|
static void |
returnCleanUpLock() |
static void |
terminate()
Destroys Tomcat Native's global APR pool.
|
static void |
threadSafeTerminate()
Allows for thread safe termination when other threads may be attempting clean-up concurrently with the current
thread.
|
static boolean |
tryCleanUpLock(long cleanupGeneration) |
static java.lang.String |
versionString() |
public static int TCN_MAJOR_VERSION
public static int TCN_MINOR_VERSION
public static int TCN_PATCH_VERSION
public static int TCN_IS_DEV_VERSION
public static int APR_MAJOR_VERSION
public static int APR_MINOR_VERSION
public static int APR_PATCH_VERSION
public static int APR_IS_DEV_VERSION
@Deprecated public static boolean APR_HAVE_IPV6
@Deprecated public static boolean APR_HAS_SHARED_MEMORY
@Deprecated public static boolean APR_HAS_THREADS
@Deprecated public static boolean APR_HAS_SENDFILE
@Deprecated public static boolean APR_HAS_MMAP
@Deprecated public static boolean APR_HAS_FORK
@Deprecated public static boolean APR_HAS_RANDOM
@Deprecated public static boolean APR_HAS_OTHER_CHILD
@Deprecated public static boolean APR_HAS_DSO
@Deprecated public static boolean APR_HAS_SO_ACCEPTFILTER
@Deprecated public static boolean APR_HAS_UNICODE_FS
@Deprecated public static boolean APR_HAS_PROC_INVOKED
@Deprecated public static boolean APR_HAS_USER
@Deprecated public static boolean APR_HAS_LARGE_FILES
@Deprecated public static boolean APR_HAS_XTHREAD_FILES
@Deprecated public static boolean APR_HAS_OS_UUID
@Deprecated public static boolean APR_IS_BIGENDIAN
@Deprecated public static boolean APR_FILES_AS_SOCKETS
@Deprecated public static boolean APR_CHARSET_EBCDIC
@Deprecated public static boolean APR_TCP_NODELAY_INHERITED
@Deprecated public static boolean APR_O_NONBLOCK_INHERITED
@Deprecated public static boolean APR_POLLSET_WAKEABLE
@Deprecated public static boolean APR_HAVE_UNIX
@Deprecated public static int APR_SIZEOF_VOIDP
@Deprecated public static int APR_PATH_MAX
@Deprecated public static int APRMAXHOSTLEN
@Deprecated public static int APR_MAX_IOVEC_SIZE
@Deprecated public static int APR_MAX_SECS_TO_LINGER
@Deprecated public static int APR_MMAP_THRESHOLD
@Deprecated public static int APR_MMAP_LIMIT
public static void threadSafeTerminate()
terminate().public static void terminate()
This method should only be used if the caller is certain that all other threads have finished using the native library.
public static java.lang.String versionString()
public static java.lang.String aprVersionString()
@Deprecated public static long globalPool()
public static boolean initialize(java.lang.String libraryName)
throws java.lang.Exception
libraryName - the name of the library to loadtrue if the native code was initialized successfully
otherwise falsejava.lang.Exception - if a problem occurred during initializationpublic static boolean tryCleanUpLock(long cleanupGeneration)
public static long getGeneration()
public static void returnCleanUpLock()
@Deprecated public static void load(java.lang.String filename)
filename - - absolute path of the native library@Deprecated public static void loadLibrary(java.lang.String libname)
libname - - the name of the native libraryCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.