Class ConfigurationImpl
- java.lang.Object
-
- org.infinispan.protostream.config.impl.ConfigurationImpl
-
- All Implemented Interfaces:
Configuration
public final class ConfigurationImpl extends Object implements Configuration
- Since:
- 2.0
- Author:
- anistor@redhat.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigurationImpl.BuilderImpl-
Nested classes/interfaces inherited from interface org.infinispan.protostream.config.Configuration
Configuration.AnnotationsConfig, Configuration.Builder, Configuration.WrappingConfig
-
-
Field Summary
-
Fields inherited from interface org.infinispan.protostream.config.Configuration
DEFAULT_MAX_NESTED_DEPTH, TYPE_ID_ANNOTATION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration.AnnotationsConfigannotationsConfig()booleanlogOutOfSequenceReads()Flag that indicates in out of sequence reads should be logged as warnings.booleanlogOutOfSequenceWrites()Flag that indicates in out of sequence writes should be logged as warnings.intmaxNestedMessageDepth()The max nested message depth to apply to allGeneratedMarshallerBases.StringtoString()Configuration.WrappingConfigwrappingConfig()
-
-
-
Method Detail
-
logOutOfSequenceReads
public boolean logOutOfSequenceReads()
Description copied from interface:ConfigurationFlag that indicates in out of sequence reads should be logged as warnings. This istrueby default.- Specified by:
logOutOfSequenceReadsin interfaceConfiguration
-
logOutOfSequenceWrites
public boolean logOutOfSequenceWrites()
Description copied from interface:ConfigurationFlag that indicates in out of sequence writes should be logged as warnings. This istrueby default.- Specified by:
logOutOfSequenceWritesin interfaceConfiguration
-
maxNestedMessageDepth
public int maxNestedMessageDepth()
Description copied from interface:ConfigurationThe max nested message depth to apply to allGeneratedMarshallerBases. This value is used as way to avoid recurring on circular dependencies without the need to maintain the list of already visited entities. Default toConfiguration.DEFAULT_MAX_NESTED_DEPTH- Specified by:
maxNestedMessageDepthin interfaceConfiguration
-
wrappingConfig
public Configuration.WrappingConfig wrappingConfig()
- Specified by:
wrappingConfigin interfaceConfiguration
-
annotationsConfig
public Configuration.AnnotationsConfig annotationsConfig()
- Specified by:
annotationsConfigin interfaceConfiguration
-
-