| Package | Description | 
|---|---|
| org.opennms.netmgt.bsm.service.internal | |
| org.opennms.netmgt.bsm.service.model.functions.reduce | 
| Modifier and Type | Method and Description | 
|---|---|
static List<StatusWithIndex> | 
DefaultBusinessServiceStateMachine.weighEdges(Collection<GraphEdge> edges)  | 
static List<StatusWithIndex> | 
DefaultBusinessServiceStateMachine.weighStatuses(Map<GraphEdge,Status> edgesWithStatus)
Apply the edges weights to the associated statuses set in the map,
 ignoring the actual status stored in the edge. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected static List<StatusWithIndex> | 
StatusUtils.toListWithIndices(List<Status> statuses)
Converts a list of  
Status to a list of StatusWithIndex, using
 the position in the array as the index. | 
| Modifier and Type | Method and Description | 
|---|---|
Map<Status,Integer> | 
Threshold.getHitsByStatusWithIndex(List<StatusWithIndex> statuses)  | 
protected static List<Integer> | 
StatusUtils.getIndicesWithStatusGe(List<StatusWithIndex> statuses,
                      Status threshold)
Retrieves the indices with a status >= the given threshold. 
 | 
Optional<StatusWithIndices> | 
Threshold.reduce(List<StatusWithIndex> statuses)  | 
Optional<StatusWithIndices> | 
HighestSeverity.reduce(List<StatusWithIndex> statuses)  | 
Optional<StatusWithIndices> | 
ReductionFunction.reduce(List<StatusWithIndex> statuses)  | 
Optional<StatusWithIndices> | 
ExponentialPropagation.reduce(List<StatusWithIndex> statuses)  | 
Optional<StatusWithIndices> | 
HighestSeverityAbove.reduce(List<StatusWithIndex> statuses)  | 
protected static Optional<StatusWithIndices> | 
HighestSeverityAbove.reduceWithHighestSeverityAbove(List<StatusWithIndex> statuses,
                              Status threshold)  | 
Copyright © 2021. All rights reserved.