@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ProxyServerContext extends ServerContext
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
aggregate(java.util.List<HealthCheckResult> results)
Aggregates the information contained in the provided list of health check
results into a single result.
|
HealthCheckResult |
createHealthCheckResult(HealthCheckState state,
int score,
java.util.List<java.lang.String> messages)
Creates a health check result with the provided information.
|
HealthCheckResult |
createHealthCheckResult(HealthCheckState state,
int score,
java.lang.String... messages)
Creates a health check result with the provided information.
|
java.util.Map<java.lang.String,RequestProcessor> |
getRequestProcessors()
For each Subtree View, return the corresponding
RequestProcessor
in a map keyed by the configured name of the Subtree View. |
createEMailAttachment, createEMailMessage, createThread, createValueConstructor, debugCaught, debugEnabled, debugError, debugInfo, debugThrown, debugVerbose, debugWarning, deregisterAllMonitorProviders, deregisterChangeListener, deregisterDiskSpaceConsumer, deregisterMonitorProvider, deregisterShutdownListener, deregisterSupportedControlOID, getBasicProductName, getClientConnection, getClientRootConnection, getCompactProductName, getEncryptedOutputStream, getEncryptedOutputStream, getEncryptionSettingsDefinition, getEncryptionSettingsDefinitions, getFullProductName, getFullVendorName, getFullVersion, getGroup, getGroupsForUser, getInstanceName, getInternalConnection, getInternalRootConnection, getLDAPExternalServerConnection, getLDAPExternalServerConnectionPool, getLocation, getMajorVersionNumber, getMinorVersionNumber, getObscuredValue, getPackageName, getPassphraseFromPassphraseProvider, getPatchVersionNumber, getPointVersionNumber, getPossiblyCompressedAndEncryptedInputStream, getPossiblyCompressedAndEncryptedInputStream, getPreferredEncryptionSettingsDefinition, getPrivilegeNames, getSchema, getServerRoot, getShortVendorName, getSourceRevision, getStartTime, getStartupID, getStartupUUID, getToolExecutor, getVersionNumber, getVersionQualifier, hasPrivilege, isDirectoryFunctionalityAvailable, isDirectoryProxyFunctionalityAvailable, isRunning, isShuttingDown, isStarting, isSyncFunctionalityAvailable, isTraceMessageLoggable, logMessage, logTraceMessage, logTraceMessage, registerChangeListener, registerDiskSpaceConsumer, registerMonitorProvider, registerShutdownListener, registerSupportedControlOID, reloadHTTPConnectionHandlerCertificates, sendAlert, sendAlert, sendDegradedAlertNotification, sendUnavailableAlertNotification
HealthCheckResult createHealthCheckResult(HealthCheckState state, int score, java.lang.String... messages)
state
- The health check state for the result. It must not be
null
.score
- The score for the result. It must be an integer value
between 1 and 10 for a state of AVAILABLE or DEGRADED, or
zero for a state of UNAVAILABLE.messages
- A set of messages with additional information about the
reason for the provided state and score. It may be
null
or empty if no messages are needed.HealthCheckResult createHealthCheckResult(HealthCheckState state, int score, java.util.List<java.lang.String> messages)
state
- The health check state for the result. It must not be
null
.score
- The score for the result. It must be an integer value
between 1 and 10 for a state of AVAILABLE or DEGRADED, or
zero for a state of UNAVAILABLE.messages
- A set of messages with additional information about the
reason for the provided state and score. It may be
null
or empty if no messages are needed.HealthCheckResult aggregate(java.util.List<HealthCheckResult> results)
results
- The list of health check results to be aggregated. It
must not be null
or empty.java.util.Map<java.lang.String,RequestProcessor> getRequestProcessors()
RequestProcessor
in a map keyed by the configured name of the Subtree View.
This is particularly useful for getting access to
EntryBalancingRequestProcessors
One use case of this method is to modify an incoming LDAP
request in a Plugin#doPreParse
implementation by accessing the
Entry Balancing Request Processor's global indexes using the
EntryBalancingRequestProcessor#getGlobalIndexHint
methods.