IN- Type of the value that can be added to the state.
OUT- Type of the value that can be retrieved from the state.
@PublicEvolving public interface MergingState<IN,OUT> extends AppendingState<IN,OUT>
AppendingStatethat allows merging of state. That is, two instances of
MergingStatecan be combined into a single instance that contains all the information of the two merged states.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.