Interface LdapConnectionHandlerCfgClient
- All Superinterfaces:
ConfigurationClient
,ConnectionHandlerCfgClient
,NetConnectionHandlerCfgClient
The LDAP Connection Handler is used to interact with clients using LDAP.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition
<? extends LdapConnectionHandlerCfgClient, ? extends LdapConnectionHandlerCfg> Get the configuration definition associated with this LDAP Connection Handler.Gets the "buffer-size" property.Gets the "java-class" property.Gets the "num-request-handlers" property.Gets the "keep-stats" property.void
setBufferSize
(ValueOrExpression<Long> value) Sets the "buffer-size" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.void
setKeepStats
(ValueOrExpression<Boolean> value) Sets the "keep-stats" property.void
Sets the "num-request-handlers" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
Methods inherited from interface org.forgerock.opendj.server.config.client.ConnectionHandlerCfgClient
getAllowedClient, getDeniedClient, getRestrictedClient, getRestrictedClientConnectionLimit, isEnabled, setAllowedClient, setDeniedClient, setEnabled, setRestrictedClient, setRestrictedClientConnectionLimit
Methods inherited from interface org.forgerock.opendj.server.config.client.NetConnectionHandlerCfgClient
getAcceptBacklog, getAdvertisedListenAddress, getKeyManagerProvider, getListenAddress, getListenPort, getMaxBlockedWriteTimeLimit, getMaxRequestSize, getProxyProtocolAllowedClient, getSslCertNickname, getSslCipherSuite, getSslClientAuthPolicy, getSslProtocol, getTrustManagerProvider, isAllowLdapV2, isAllowStartTls, isAllowTcpReuseAddress, isProxyProtocolEnabled, isUseSsl, isUseTcpKeepAlive, isUseTcpNoDelay, setAcceptBacklog, setAdvertisedListenAddress, setAllowLdapV2, setAllowStartTls, setAllowTcpReuseAddress, setKeyManagerProvider, setListenAddress, setListenPort, setMaxBlockedWriteTimeLimit, setMaxRequestSize, setProxyProtocolAllowedClient, setProxyProtocolEnabled, setSslCertNickname, setSslCipherSuite, setSslClientAuthPolicy, setSslProtocol, setTrustManagerProvider, setUseSsl, setUseTcpKeepAlive, setUseTcpNoDelay
-
Method Details
-
definition
ManagedObjectDefinition<? extends LdapConnectionHandlerCfgClient,? extends LdapConnectionHandlerCfg> definition()Get the configuration definition associated with this LDAP Connection Handler.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceConnectionHandlerCfgClient
- Specified by:
definition
in interfaceNetConnectionHandlerCfgClient
- Returns:
- Returns the configuration definition associated with this LDAP Connection Handler.
-
getBufferSize
ValueOrExpression<Long> getBufferSize()Gets the "buffer-size" property.Specifies the size in bytes of the LDAP response message write buffer.
This property specifies write buffer size allocated by the server for each client connection and used to buffer LDAP response messages data when writing.
Default value:
4096 bytes
- Returns:
- Returns the value of the "buffer-size" property.
-
setBufferSize
Sets the "buffer-size" property.Specifies the size in bytes of the LDAP response message write buffer.
This property specifies write buffer size allocated by the server for each client connection and used to buffer LDAP response messages data when writing.
- Parameters:
value
- The value of the "buffer-size" property.- Throws:
PropertyException
- If the new value is invalid.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the LDAP Connection Handler implementation.
Default value:
org.opends.server.protocols.ldap.LdapConnectionHandler
- Specified by:
getJavaClass
in interfaceConnectionHandlerCfgClient
- Specified by:
getJavaClass
in interfaceNetConnectionHandlerCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the LDAP Connection Handler implementation.
- Specified by:
setJavaClass
in interfaceConnectionHandlerCfgClient
- Specified by:
setJavaClass
in interfaceNetConnectionHandlerCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-
isKeepStats
ValueOrExpression<Boolean> isKeepStats()Gets the "keep-stats" property.Indicates whether the LDAP Connection Handler should keep statistics.
If enabled, the LDAP Connection Handler maintains statistics about the number and types of operations requested over LDAP and the amount of data sent and received.
Default value:
true
- Returns:
- Returns the value of the "keep-stats" property.
-
setKeepStats
Sets the "keep-stats" property.Indicates whether the LDAP Connection Handler should keep statistics.
If enabled, the LDAP Connection Handler maintains statistics about the number and types of operations requested over LDAP and the amount of data sent and received.
- Parameters:
value
- The value of the "keep-stats" property.- Throws:
PropertyException
- If the new value is invalid.
-
getNumRequestHandlers
ValueOrExpression<Integer> getNumRequestHandlers()Gets the "num-request-handlers" property.Specifies the number of request handlers that are used to read requests from clients.
The LDAP Connection Handler uses one thread to accept new connections from clients, but uses one or more additional threads to read requests from existing client connections. This ensures that new requests are read efficiently and that the connection handler itself does not become a bottleneck when the server is under heavy load from many clients at the same time.
- Returns:
- Returns the value of the "num-request-handlers" property.
-
setNumRequestHandlers
Sets the "num-request-handlers" property.Specifies the number of request handlers that are used to read requests from clients.
The LDAP Connection Handler uses one thread to accept new connections from clients, but uses one or more additional threads to read requests from existing client connections. This ensures that new requests are read efficiently and that the connection handler itself does not become a bottleneck when the server is under heavy load from many clients at the same time.
- Parameters:
value
- The value of the "num-request-handlers" property.- Throws:
PropertyException
- If the new value is invalid.
-