Class StoreAsBinaryConfigurationBuilder

  • All Implemented Interfaces:
    org.infinispan.commons.configuration.Builder<StoreAsBinaryConfiguration>, ConfigurationChildBuilder

    public class StoreAsBinaryConfigurationBuilder
    extends Object
    implements org.infinispan.commons.configuration.Builder<StoreAsBinaryConfiguration>
    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: