Class CacheDefaultBinaryAffinityKeyMapper

    • Constructor Detail

      • CacheDefaultBinaryAffinityKeyMapper

        public CacheDefaultBinaryAffinityKeyMapper​(@Nullable
                                                   @Nullable CacheKeyConfiguration[] cacheKeyCfgs)
        Constructor.
        Parameters:
        cacheKeyCfgs - Cache key configurations.
    • Method Detail

      • affinityKeyField

        @Nullable
        public @Nullable BinaryField affinityKeyField​(String typeName)
        Get affinity field override for type.
        Parameters:
        typeName - Type name.
        Returns:
        Affinity field override if any.
      • affinityKeyField

        @Nullable
        public @Nullable BinaryField affinityKeyField​(int typeId)
        Get affinity field override for type.
        Parameters:
        typeId - Type ID.
        Returns:
        Affinity field override if any.