Package org.togglz.hazelcast
Class HazelcastStateRepository.Builder
java.lang.Object
org.togglz.hazelcast.HazelcastStateRepository.Builder
- Enclosing class:
- HazelcastStateRepository
Builder for a
HazelcastStateRepository.-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Creates a new builder for aHazelcastStateRepository.Builder(com.hazelcast.config.Config hazelcastConfig) Creates a new builder for aHazelcastStateRepository.Creates a new builder for aHazelcastStateRepository. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newHazelcastStateRepositoryusing the current settings.clientConfig(com.hazelcast.client.config.ClientConfig hazelcastClientConfig) config(com.hazelcast.config.Config hazelcastConfig) Sets the Hazelcast configuration.hazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance) Sets the Hazelcast map name to use.
-
Constructor Details
-
Builder
public Builder()Creates a new builder for aHazelcastStateRepository. -
Builder
Creates a new builder for aHazelcastStateRepository.- Parameters:
mapName- the Hazelcast map name to use for feature state store
-
Builder
public Builder(com.hazelcast.config.Config hazelcastConfig) Creates a new builder for aHazelcastStateRepository.- Parameters:
hazelcastConfig- the Hazelcast configurationConfig
-
-
Method Details
-
mapName
Sets the Hazelcast map name to use.- Parameters:
mapName- the Hazelcast map name to use for feature state store
-
config
Sets the Hazelcast configuration.- Parameters:
hazelcastConfig- the Hazelcast configurationConfig
-
clientConfig
public HazelcastStateRepository.Builder clientConfig(com.hazelcast.client.config.ClientConfig hazelcastClientConfig) -
hazelcastInstance
public HazelcastStateRepository.Builder hazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance) -
build
Creates a newHazelcastStateRepositoryusing the current settings.
-