public static class HazelcastStateRepository.Builder extends Object
HazelcastStateRepository.| Constructor and Description |
|---|
Builder()
Creates a new builder for a
HazelcastStateRepository. |
Builder(com.hazelcast.config.Config hazelcastConfig)
Creates a new builder for a
HazelcastStateRepository. |
Builder(String mapName)
Creates a new builder for a
HazelcastStateRepository. |
| Modifier and Type | Method and Description |
|---|---|
HazelcastStateRepository |
build()
Creates a new
HazelcastStateRepository using the current
settings. |
HazelcastStateRepository.Builder |
config(com.hazelcast.config.Config hazelcastConfig)
Sets the Hazelcast configuration.
|
HazelcastStateRepository.Builder |
mapName(String mapName)
Sets the Hazelcast map name to use.
|
public Builder()
HazelcastStateRepository.public Builder(String mapName)
HazelcastStateRepository.mapName - the Hazelcast map name to use for feature state storepublic Builder(com.hazelcast.config.Config hazelcastConfig)
HazelcastStateRepository.hazelcastConfig - the Hazelcast configuration Configpublic HazelcastStateRepository.Builder mapName(String mapName)
mapName - the Hazelcast map name to use for feature state storepublic HazelcastStateRepository.Builder config(com.hazelcast.config.Config hazelcastConfig)
hazelcastConfig - the Hazelcast configuration Configpublic HazelcastStateRepository build()
HazelcastStateRepository using the current
settings.Copyright © 2016. All Rights Reserved.