Class RedisKeyValueStateIterator<K,​V>

    • Constructor Detail

      • RedisKeyValueStateIterator

        public RedisKeyValueStateIterator​(byte[] namespace,
                                          RedisCommandsInstanceContainer container,
                                          Iterator<Map.Entry<byte[],​byte[]>> pendingPrepareIterator,
                                          Iterator<Map.Entry<byte[],​byte[]>> pendingCommitIterator,
                                          int chunkSize,
                                          Serializer<K> keySerializer,
                                          Serializer<V> valueSerializer)
        Constructor.
        Parameters:
        namespace - The namespace of State
        container - The instance of RedisCommandsInstanceContainer
        pendingPrepareIterator - The iterator of pendingPrepare
        pendingCommitIterator - The iterator of pendingCommit
        chunkSize - The size of chunk to get entries from Redis
        keySerializer - The serializer of key
        valueSerializer - The serializer of value