Class PlatformCacheConfiguration

  • All Implemented Interfaces:
    Serializable

    public class PlatformCacheConfiguration
    extends Object
    implements Serializable
    Platform cache configuration.

    Additional caching mechanism on platform side (.NET).

    See Also:
    Serialized Form
    • Constructor Detail

      • PlatformCacheConfiguration

        public PlatformCacheConfiguration()
    • Method Detail

      • getKeyTypeName

        public String getKeyTypeName()
        Gets fully-qualified platform type name of the cache key used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.
        Returns:
        Key type name.
      • setKeyTypeName

        public PlatformCacheConfiguration setKeyTypeName​(String keyTypeName)
        Sets fully-qualified platform type name of the cache key used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.
        Parameters:
        keyTypeName - Key type name.
        Returns:
        this for chaining.
      • getValueTypeName

        public String getValueTypeName()
        Gets fully-qualified platform type name of the cache value used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.
        Returns:
        Key type name.
      • setValueTypeName

        public PlatformCacheConfiguration setValueTypeName​(String valueTypeName)
        Sets fully-qualified platform type name of the cache value used for the local map. When not set, object-based map is used, which can reduce performance and increase allocations due to boxing.
        Parameters:
        valueTypeName - Key type name.
        Returns:
        this for chaining.
      • isKeepBinary

        public boolean isKeepBinary()
        Gets a value indicating whether platform cache should store keys and values in binary form.
        Returns:
        Whether binary mode is enabled.
      • setKeepBinary

        public PlatformCacheConfiguration setKeepBinary​(boolean keepBinary)
        Sets a value indicating whether platform cache should store keys and values in binary form.
        Parameters:
        keepBinary - Whether binary mode is enabled.
        Returns:
        this for chaining.