Class DiffableUtils.DiffableValueReader<K,​V extends Diffable<V>>

    • Method Detail

      • read

        public V read​(StreamInput in,
                      K key)
               throws java.io.IOException
        Description copied from interface: DiffableUtils.ValueSerializer
        Reads value from stream. Reading operation can be made dependent on map key.
        Throws:
        java.io.IOException
      • readDiff

        public Diff<V> readDiff​(StreamInput in,
                                K key)
                         throws java.io.IOException
        Description copied from interface: DiffableUtils.ValueSerializer
        Reads value as diff from stream if this serializer supports diffable values. Reading operation can be made dependent on map key.
        Throws:
        java.io.IOException