Class ClusteredLockConfigurationBuilder
- java.lang.Object
-
- org.infinispan.lock.configuration.ClusteredLockConfigurationBuilder
-
- All Implemented Interfaces:
Builder<ClusteredLockConfiguration>
public class ClusteredLockConfigurationBuilder extends java.lang.Object implements Builder<ClusteredLockConfiguration>
ClusteredLock
configuration builder.- Since:
- 9.4
- Author:
- Katia Aresti, karesti@redhat.com
-
-
Constructor Summary
Constructors Constructor Description ClusteredLockConfigurationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusteredLockConfiguration
create()
Create the configuration beanClusteredLockConfigurationBuilder
name(java.lang.String name)
Builder<?>
read(ClusteredLockConfiguration template)
Reads the configuration from an already created configuration bean into this builder.void
validate()
Validate the data in this builder before building the configuration bean
-
-
-
Method Detail
-
validate
public void validate()
Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<ClusteredLockConfiguration>
-
create
public ClusteredLockConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<ClusteredLockConfiguration>
- Returns:
-
read
public Builder<?> read(ClusteredLockConfiguration template)
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<ClusteredLockConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
name
public ClusteredLockConfigurationBuilder name(java.lang.String name)
-
-