Interface Configuration.Builder

All Known Implementing Classes:
ConfigurationImpl.BuilderImpl
Enclosing interface:
Configuration

public static interface Configuration.Builder
  • Method Details

    • setLogOutOfSequenceReads

      Configuration.Builder setLogOutOfSequenceReads(boolean logOutOfSequenceReads)
    • setLogOutOfSequenceWrites

      Configuration.Builder setLogOutOfSequenceWrites(boolean logOutOfSequenceWrites)
    • setLenient

      Configuration.Builder setLenient(boolean lenient)
    • maxNestedMessageDepth

      Configuration.Builder maxNestedMessageDepth(int maxNestedMessageDepth)
    • schemaValidation

      Configuration.Builder schemaValidation(Configuration.SchemaValidation schemaValidation)
    • wrapCollectionElements

      Configuration.Builder wrapCollectionElements(boolean wrapCollectionElements)
      Wraps all the elements in a collection or array into a wrapped message.

      WARNING: enabling this option will change the binary format in an incompatible way. All readers/writers must have this option enabled or disabled in order to be able to parse the messages. Use with caution.

      This option is required to fix a bug (IPROTO-273) where collections (or arrays) of non-primitive classes are unable to be read.

      Parameters:
      wrapCollectionElements - true to enable wrap the elements, false otherwise.
      Returns:
      This instance.
    • annotationsConfig

    • build

      Configuration build()