Class ContentTypeConfigurationBuilder
java.lang.Object
org.infinispan.configuration.cache.ContentTypeConfigurationBuilder
- All Implemented Interfaces:
Builder<ContentTypeConfiguration>
,ConfigurationChildBuilder
public class ContentTypeConfigurationBuilder
extends Object
implements Builder<ContentTypeConfiguration>
- Since:
- 9.2
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ContentTypeConfigurationBuilder
(Enum<?> element, EncodingConfigurationBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
create()
Create the configuration beanencoding()
protected ConfigurationBuilder
indexing()
boolean
boolean
locking()
memory()
query()
read
(ContentTypeConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.security()
boolean
simpleCache
(boolean simpleCache) sites()
template
(boolean template) tracing()
unsafe()
void
validate
(GlobalConfiguration globalConfig)
-
Field Details
-
builder
-
-
Constructor Details
-
ContentTypeConfigurationBuilder
-
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<ContentTypeConfiguration>
-
isObjectStorage
public boolean isObjectStorage() -
isProtobufStorage
public boolean isProtobufStorage() -
mediaType
-
mediaType
-
mediaType
-
create
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<ContentTypeConfiguration>
- Returns:
-
read
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<ContentTypeConfiguration>
- 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.
-
validate
- Specified by:
validate
in interfaceConfigurationChildBuilder
-
aliases
- Specified by:
aliases
in interfaceConfigurationChildBuilder
-
template
- Specified by:
template
in interfaceConfigurationChildBuilder
-
simpleCache
- Specified by:
simpleCache
in interfaceConfigurationChildBuilder
-
simpleCache
public boolean simpleCache()- Specified by:
simpleCache
in interfaceConfigurationChildBuilder
-
clustering
- Specified by:
clustering
in interfaceConfigurationChildBuilder
-
encoding
- Specified by:
encoding
in interfaceConfigurationChildBuilder
-
expiration
- Specified by:
expiration
in interfaceConfigurationChildBuilder
-
query
- Specified by:
query
in interfaceConfigurationChildBuilder
-
indexing
- Specified by:
indexing
in interfaceConfigurationChildBuilder
-
tracing
- Specified by:
tracing
in interfaceConfigurationChildBuilder
-
invocationBatching
- Specified by:
invocationBatching
in interfaceConfigurationChildBuilder
-
statistics
- Specified by:
statistics
in interfaceConfigurationChildBuilder
-
persistence
- Specified by:
persistence
in interfaceConfigurationChildBuilder
-
locking
- Specified by:
locking
in interfaceConfigurationChildBuilder
-
security
- Specified by:
security
in interfaceConfigurationChildBuilder
-
transaction
- Specified by:
transaction
in interfaceConfigurationChildBuilder
-
unsafe
- Specified by:
unsafe
in interfaceConfigurationChildBuilder
-
sites
- Specified by:
sites
in interfaceConfigurationChildBuilder
-
memory
- Specified by:
memory
in interfaceConfigurationChildBuilder
-
getBuilder
-
build
- Specified by:
build
in interfaceConfigurationChildBuilder
-