S
- State type@Beta public abstract class AbstractStateAggregator<S extends AbstractStateAggregator.State> extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractStateAggregator.Behavior<B extends AbstractStateAggregator.Behavior<B,S>,S extends AbstractStateAggregator.State> |
protected static class |
AbstractStateAggregator.Failed<S extends AbstractStateAggregator.State> |
protected static class |
AbstractStateAggregator.Operational<S extends AbstractStateAggregator.State> |
protected static class |
AbstractStateAggregator.Started<S extends AbstractStateAggregator.State> |
static class |
AbstractStateAggregator.State
Marker interface for state as both reported up and down.
|
protected static class |
AbstractStateAggregator.StateBuilder<S extends AbstractStateAggregator.State>
State aggregator, which receives state chunks and creates an aggregated state object via the build method.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractStateAggregator(int sizeHint) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBuilder(AbstractStateAggregator.StateBuilder<S> builder) |
protected void |
receiveState(AbstractStateAggregator.StateBuilder<S> builder,
S state) |
protected AbstractStateAggregator.Started<S> |
start(Function<Collection<AbstractStateAggregator.StateBuilder<S>>,AbstractStateAggregator.Started<S>> function) |
protected final void addBuilder(AbstractStateAggregator.StateBuilder<S> builder)
protected final AbstractStateAggregator.Started<S> start(Function<Collection<AbstractStateAggregator.StateBuilder<S>>,AbstractStateAggregator.Started<S>> function)
protected final void receiveState(AbstractStateAggregator.StateBuilder<S> builder, S state)
Copyright © 2019 OpenDaylight. All rights reserved.