N - The type of the namespaceIN - The type of elements added to the stateOUT - The type of elementspublic interface InternalMergingState<N,IN,OUT> extends InternalAppendingState<N,IN,OUT>, MergingState<IN,OUT>
MergingState in the internal state type hierarchy.
See InternalKvState for a description of the internal state hierarchy.| Modifier and Type | Method and Description |
|---|---|
void |
mergeNamespaces(N target,
Collection<N> sources)
Merges the state of the current key for the given source namespaces into the state of
the target namespace.
|
getSerializedValue, setCurrentNamespaceadd, getvoid mergeNamespaces(N target, Collection<N> sources) throws Exception
target - The target namespace where the merged state should be stored.sources - The source namespaces whose state should be merged.Exception - The method may forward exception thrown internally (by I/O or functions).Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.