Enum Class MemcachedConfigurations
java.lang.Object
java.lang.Enum<MemcachedConfigurations>
org.eclipse.jnosql.databases.memcached.communication.MemcachedConfigurations
- All Implemented Interfaces:
Serializable,Comparable<MemcachedConfigurations>,Constable,Supplier<String>
public enum MemcachedConfigurations
extends Enum<MemcachedConfigurations>
implements Supplier<String>
An enumeration to show the available options to connect to the Memcached database.
It implements
Supplier, where its it returns the property name that might be
overwritten by the system environment using Eclipse Microprofile or Jakarta Config API.- See Also:
-
Settings
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCustom wait time for the authentication on connect/reconnect.The daemon state of the IO thread (defaults to true).Database's host.The locator typeConnectionFactoryBuilder.LocatorThe maximum amount of time (in milliseconds) a client is willing to wait for space to become available in an output queue.The maximum reconnect delayThe password's credential.The protocol typeConnectionFactoryBuilder.ProtocolThe read buffer size.The default operation optimization is not desirable.The default operation timeout in milliseconds.The maximum timeout exception threshold.Enable the Nagle algorithm.The user's credential -
Method Summary
Modifier and TypeMethodDescriptionget()static MemcachedConfigurationsReturns the enum constant of this class with the specified name.static MemcachedConfigurations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DAEMON
The daemon state of the IO thread (defaults to true). -
MAX_RECONNECT_DELAY
The maximum reconnect delay -
PROTOCOL
The protocol typeConnectionFactoryBuilder.Protocol -
LOCATOR
The locator typeConnectionFactoryBuilder.Locator -
AUTH_WAIT_TIME
Custom wait time for the authentication on connect/reconnect. -
MAX_BLOCK_TIME
The maximum amount of time (in milliseconds) a client is willing to wait for space to become available in an output queue. -
TIMEOUT
The default operation timeout in milliseconds. -
READ_BUFFER_SIZE
The read buffer size. -
SHOULD_OPTIMIZE
The default operation optimization is not desirable. -
TIMEOUT_THRESHOLD
The maximum timeout exception threshold. -
USE_NAGLE_ALGORITHM
Enable the Nagle algorithm. -
USER
The user's credential -
PASSWORD
The password's credential. -
HOST
Database's host. It is a prefix to enumerate hosts. E.g.: jnosql.memcached.host.1=localhost:11211
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
get
-