Package com.vaadin.kubernetes.starter
Class KubernetesKitProperties.HazelcastProperties
java.lang.Object
com.vaadin.kubernetes.starter.KubernetesKitProperties.HazelcastProperties
- Enclosing class:
- KubernetesKitProperties
Hazelcast configuration properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the Kubernetes namespace to use.Gets the service name of the Kubernetes service exposing the Hazelcast port to the cluster.int
Gets endpoint port of the Hazelcast service If specified with a value greater than 0, it overrides the default; 0 by default.void
setNamespace
(String namespace) Sets the Kubernetes namespace to use.void
setServiceName
(String serviceName) Sets the service name of the Kubernetes service exposing the Hazelcast port to the cluster.void
setServicePort
(int port) Sets endpoint port of the Hazelcast service.
-
Constructor Details
-
HazelcastProperties
public HazelcastProperties()
-
-
Method Details
-
getNamespace
Gets the Kubernetes namespace to use.- Returns:
- the namespace
-
setNamespace
Sets the Kubernetes namespace to use. If not set, the default value isdefault
.- Parameters:
namespace
- the namespace
-
getServiceName
Gets the service name of the Kubernetes service exposing the Hazelcast port to the cluster.- Returns:
- the service name
-
setServiceName
Sets the service name of the Kubernetes service exposing the Hazelcast port to the cluster.- Parameters:
serviceName
- the service name
-
getServicePort
public int getServicePort()Gets endpoint port of the Hazelcast service If specified with a value greater than 0, it overrides the default; 0 by default.- Returns:
- endpoint port or 0
-
setServicePort
public void setServicePort(int port) Sets endpoint port of the Hazelcast service. Uxd- Parameters:
port
- port number or 0
-