Class HazelcastProxyManager<K>

    • Constructor Detail

      • HazelcastProxyManager

        public HazelcastProxyManager​(com.hazelcast.map.IMap<K,​byte[]> map)
      • HazelcastProxyManager

        public HazelcastProxyManager​(com.hazelcast.map.IMap<K,​byte[]> map,
                                     ClientSideConfig clientSideConfig)
      • HazelcastProxyManager

        public HazelcastProxyManager​(com.hazelcast.map.IMap<K,​byte[]> map,
                                     ClientSideConfig clientSideConfig,
                                     String offlodableExecutorName)
    • Method Detail

      • isAsyncModeSupported

        public boolean isAsyncModeSupported()
      • removeProxy

        public void removeProxy​(K key)
      • addCustomSerializers

        public static void addCustomSerializers​(com.hazelcast.config.SerializationConfig serializationConfig,
                                                int typeIdBase)
        Registers custom Hazelcast serializers for all classes from Bucket4j library which can be transferred over network. Each serializer will have different typeId, and this id will not be changed in the feature releases.

        Note: it would be better to leave an empty space in the Ids in order to handle the extension of Bucket4j library when new classes can be added to library. For example if you called getAllSerializers(10000) then it would be reasonable to avoid registering your custom types in the interval 10000-10100.

        Parameters:
        typeIdBase - a starting number from for typeId sequence