@Beta public final class DOMDataTreeListenerAggregator extends AbstractStateAggregator<org.opendaylight.mdsal.dom.spi.shard.DOMDataTreeListenerAggregator.State>
DOMDataTreeListener
and forwards their changes to a central
listener.AbstractStateAggregator.Behavior<B extends AbstractStateAggregator.Behavior<B,S>,S extends AbstractStateAggregator.State>, AbstractStateAggregator.Failed<S extends AbstractStateAggregator.State>, AbstractStateAggregator.Started<S extends AbstractStateAggregator.State>
Constructor and Description |
---|
DOMDataTreeListenerAggregator(int sizeHint,
boolean allowRxMerges) |
Modifier and Type | Method and Description |
---|---|
static <L extends DOMDataTreeListener,T> |
aggregateIfNeeded(L listener,
Map<T,Collection<DOMDataTreeIdentifier>> subtrees,
boolean allowRxMerges,
Function<T,DOMDataTreeShard> keyToShard) |
DOMDataTreeListener |
createListener() |
<L extends DOMDataTreeListener> |
start(L listener,
Collection<org.opendaylight.yangtools.concepts.ListenerRegistration<DOMDataTreeListener>> regs) |
addBuilder, receiveState, start
public DOMDataTreeListenerAggregator(int sizeHint, boolean allowRxMerges)
public static <L extends DOMDataTreeListener,T> org.opendaylight.yangtools.concepts.ListenerRegistration<L> aggregateIfNeeded(L listener, Map<T,Collection<DOMDataTreeIdentifier>> subtrees, boolean allowRxMerges, Function<T,DOMDataTreeShard> keyToShard)
public DOMDataTreeListener createListener()
public <L extends DOMDataTreeListener> org.opendaylight.yangtools.concepts.ListenerRegistration<L> start(L listener, Collection<org.opendaylight.yangtools.concepts.ListenerRegistration<DOMDataTreeListener>> regs)
Copyright © 2019 OpenDaylight. All rights reserved.