Package org.apache.ignite.marshaller

## Interface MarshallersFactory

- All Known Implementing Classes:
    `MarshallersFactoryImpl`

      public interface MarshallersFactory

  Marshallers factory. Implementation loaded via `ServiceLoader` mechanism.
  See Also:
    `CommonUtils.loadService(Class)`, `JdkMarshaller`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `JdkMarshaller` | `jdk()` |
    `JdkMarshaller` | `jdk​(@Nullable IgnitePredicate<String> clsFilter)` |
    `org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller` | `optimized()` |
    `org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller` | `optimized​(boolean requireSer)` | Creates new marshaller providing whether it should require `Serializable` interface or not.

- - ### Method Detail

    - #### jdk

          JdkMarshaller jdk()

      Returns:
        Default instance of `JdkMarshaller`.

    - #### jdk

          JdkMarshaller jdk​(@Nullable
                            @Nullable IgnitePredicate<String> clsFilter)

      Parameters:
        `clsFilter` - Class filter.
      Returns:
        Filtered instance of `JdkMarshaller`.

    - #### optimized

          org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller optimized()

      Returns:
        Optimized marshaller instance.

    - #### optimized

          org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller optimized​(boolean requireSer)

      Creates new marshaller providing whether it should require `Serializable` interface or not.
      Parameters:
        `requireSer` - Whether to require `Serializable`.
      Returns:
        Optimized marshaller instance.