Class ClusteredLockConfigurationBuilder
- java.lang.Object
-
- org.infinispan.lock.configuration.ClusteredLockConfigurationBuilder
-
- All Implemented Interfaces:
Builder<ClusteredLockConfiguration>
public class ClusteredLockConfigurationBuilder extends Object implements Builder<ClusteredLockConfiguration>
ClusteredLockconfiguration 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 AttributeSetattributes()ClusteredLockConfigurationcreate()Create the configuration beanClusteredLockConfigurationBuildername(String name)Builder<?>read(ClusteredLockConfiguration template, Combine combine)Reads the configuration from an already created configuration bean into this builder.voidvalidate()Validate the data in this builder before building the configuration bean
-
-
-
Method Detail
-
attributes
public AttributeSet attributes()
- Specified by:
attributesin interfaceBuilder<ClusteredLockConfiguration>
-
validate
public void validate()
Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
validatein interfaceBuilder<ClusteredLockConfiguration>
-
create
public ClusteredLockConfiguration create()
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<ClusteredLockConfiguration>- Returns:
-
read
public Builder<?> read(ClusteredLockConfiguration template, Combine combine)
Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
readin interfaceBuilder<ClusteredLockConfiguration>- Parameters:
template- the configuration from which to "clone" this config if needed.combine- the way attributes and children of this instance and the template should be combined.
-
name
public ClusteredLockConfigurationBuilder name(String name)
-
-