Enum Class HazelcastConfigurations
java.lang.Object
java.lang.Enum<HazelcastConfigurations>
org.eclipse.jnosql.databases.hazelcast.communication.HazelcastConfigurations
- All Implemented Interfaces:
Serializable,Comparable<HazelcastConfigurations>,Constable,Supplier<String>
public enum HazelcastConfigurations
extends Enum<HazelcastConfigurations>
implements Supplier<String>
An enumeration to show the available options to connect to the Hazelcast 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 ConstantDescriptionDatabase's host.The instance name uniquely identifying the hazelcast instance created by this configuration.Enables or disables the multicast discovery mechanismThe database portSets if a Hazelcast member is allowed to find a free port by incrementing the port number when it encounters an occupied port.The maximum number of ports allowed to use.Enables or disables the Tcp/Ip join mechanism. -
Method Summary
Modifier and TypeMethodDescriptionget()static HazelcastConfigurationsReturns the enum constant of this class with the specified name.static HazelcastConfigurations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The instance name uniquely identifying the hazelcast instance created by this configuration. This name is used in different scenarios, such as identifying the hazelcast instance when running multiple instances in the same JVM. -
HOST
Database's host. It is a prefix to enumerate hosts. E.g.: jnosql.hazelcast.host.1=localhost -
PORT
The database port -
PORT_COUNT
The maximum number of ports allowed to use. -
PORT_AUTO_INCREMENT
Sets if a Hazelcast member is allowed to find a free port by incrementing the port number when it encounters an occupied port. -
MULTICAST_ENABLE
Enables or disables the multicast discovery mechanism -
TCP_IP_JOIN
Enables or disables the Tcp/Ip join mechanism.
-
-
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
-