Class StoreAsBinaryConfigurationBuilder

  • All Implemented Interfaces:
    Builder<StoreAsBinaryConfiguration>, ConfigurationChildBuilder

    @Deprecated
    public class StoreAsBinaryConfigurationBuilder
    extends java.lang.Object
    implements Builder<StoreAsBinaryConfiguration>
    Deprecated.
    Controls whether when stored in memory, keys and values are stored as references to their original objects, or in a serialized, binary format. There are benefits to both approaches, but often if used in a clustered mode, storing objects as binary means that the cost of serialization happens early on, and can be amortized. Further, deserialization costs are incurred lazily which improves throughput.

    It is possible to control this on a fine-grained basis: you can choose to just store keys or values as binary, or both.

    See Also:
    StoreAsBinaryConfiguration