Class ClusteredLockConfigurationBuilder
- java.lang.Object
-
- org.infinispan.lock.configuration.ClusteredLockConfigurationBuilder
-
- All Implemented Interfaces:
org.infinispan.commons.configuration.Builder<ClusteredLockConfiguration>
public class ClusteredLockConfigurationBuilder extends Object implements org.infinispan.commons.configuration.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(String name)
org.infinispan.commons.configuration.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:org.infinispan.commons.configuration.Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceorg.infinispan.commons.configuration.Builder<ClusteredLockConfiguration>
-
create
public ClusteredLockConfiguration create()
Description copied from interface:org.infinispan.commons.configuration.Builder
Create the configuration bean- Specified by:
create
in interfaceorg.infinispan.commons.configuration.Builder<ClusteredLockConfiguration>
- Returns:
-
read
public org.infinispan.commons.configuration.Builder<?> read(ClusteredLockConfiguration template)
Description copied from interface:org.infinispan.commons.configuration.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 interfaceorg.infinispan.commons.configuration.Builder<ClusteredLockConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
name
public ClusteredLockConfigurationBuilder name(String name)
-
-