public final class Library extends Object
Modifier and Type | Method and Description |
---|---|
static String |
aprVersionString() |
static long |
globalPool() |
static boolean |
initialize(String libraryName)
Setup any APR internal data structures.
|
static void |
load(String filename)
Calls System.load(filename).
|
static void |
loadLibrary(String libname)
Calls System.loadLibrary(libname).
|
static void |
terminate() |
static 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
public static boolean APR_HAVE_IPV6
public static boolean APR_HAS_SHARED_MEMORY
public static boolean APR_HAS_THREADS
public static boolean APR_HAS_SENDFILE
public static boolean APR_HAS_MMAP
public static boolean APR_HAS_FORK
public static boolean APR_HAS_RANDOM
public static boolean APR_HAS_OTHER_CHILD
public static boolean APR_HAS_DSO
public static boolean APR_HAS_SO_ACCEPTFILTER
public static boolean APR_HAS_UNICODE_FS
public static boolean APR_HAS_PROC_INVOKED
public static boolean APR_HAS_USER
public static boolean APR_HAS_LARGE_FILES
public static boolean APR_HAS_XTHREAD_FILES
public static boolean APR_HAS_OS_UUID
public static boolean APR_IS_BIGENDIAN
public static boolean APR_FILES_AS_SOCKETS
public static boolean APR_CHARSET_EBCDIC
public static boolean APR_TCP_NODELAY_INHERITED
public static boolean APR_O_NONBLOCK_INHERITED
public static int APR_SIZEOF_VOIDP
public static int APR_PATH_MAX
public static int APRMAXHOSTLEN
public static int APR_MAX_IOVEC_SIZE
public static int APR_MAX_SECS_TO_LINGER
public static int APR_MMAP_THRESHOLD
public static int APR_MMAP_LIMIT
public static void terminate()
public static String versionString()
public static String aprVersionString()
public static long globalPool()
public static boolean initialize(String libraryName) throws Throwable
libraryName
- the name of the library to loadtrue
if the native code was initialized successfully
otherwise false
Throwable
- if a problem occurred during initializationpublic static void load(String filename)
filename
- - absolute path of the native librarypublic static void loadLibrary(String libname)
libname
- - the name of the native libraryCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.