Class DataConfigurationBuilder
- java.lang.Object
-
- org.infinispan.persistence.sifs.configuration.DataConfigurationBuilder
-
- All Implemented Interfaces:
Builder<DataConfiguration>
public class DataConfigurationBuilder extends Object implements Builder<DataConfiguration>
-
-
Constructor Summary
Constructors Constructor Description DataConfigurationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
DataConfiguration
create()
Create the configuration beanDataConfigurationBuilder
dataLocation(String dataLocation)
DataConfigurationBuilder
maxFileSize(int maxFileSize)
Builder<?>
read(DataConfiguration template)
Reads the configuration from an already created configuration bean into this builder.DataConfigurationBuilder
syncWrites(boolean syncWrites)
-
-
-
Method Detail
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
-
dataLocation
public DataConfigurationBuilder dataLocation(String dataLocation)
-
maxFileSize
public DataConfigurationBuilder maxFileSize(int maxFileSize)
-
syncWrites
public DataConfigurationBuilder syncWrites(boolean syncWrites)
-
create
public DataConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<DataConfiguration>
- Returns:
-
read
public Builder<?> read(DataConfiguration 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<DataConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-