public interface Diffable<T> extends Writeable
Writeable.Reader<R>
Modifier and Type | Method and Description |
---|---|
Diff<T> |
diff(T previousState)
Returns serializable object representing differences between this and previousState
|
Diff<T> |
readDiffFrom(StreamInput in)
Reads the
Diff from StreamInput |
T |
readFrom(StreamInput in)
Reads an object of this type from the provided StreamInput.
|
Diff<T> diff(T previousState)
Diff<T> readDiffFrom(StreamInput in) throws java.io.IOException
Diff
from StreamInputjava.io.IOException
T readFrom(StreamInput in) throws java.io.IOException
java.io.IOException