public final class AprLibrary extends Object
Internal singleton used for initializing correctly the APR native library and the associated root memory pool.
It'll finalize nicely the native resources (libraries and memory pools).
Each memory pool used in the APR transport module needs to be children of the root poolgetRootPool().| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
static AprLibrary |
getInstance()
get the shared instance of APR library, if none, initialize one
|
static boolean |
isInitialized()
is the APR library was initialized.
|
public static AprLibrary getInstance()
public static boolean isInitialized()
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.