public class SimpleTrafficShaper extends Object implements TrafficShaper, Serializable
| Constructor and Description |
|---|
SimpleTrafficShaper() |
| Modifier and Type | Method and Description |
|---|---|
Set<GosDefinition> |
getAllGosEndpoints() |
GosDefinition |
getAppropriateGosForLayer(String layerID)
Fetches a random one from the available
|
GosDefinition |
getGosForNewLayer() |
void |
setDataMonitor(DataMonitor dataMonitor) |
@Autowired public void setDataMonitor(DataMonitor dataMonitor)
public GosDefinition getAppropriateGosForLayer(String layerID) throws NoAvailableLayer
getAppropriateGosForLayer in interface TrafficShaperNoAvailableLayerpublic GosDefinition getGosForNewLayer() throws NoAvailableGos
getGosForNewLayer in interface TrafficShaperNoAvailableGospublic Set<GosDefinition> getAllGosEndpoints() throws NoAvailableGos
getAllGosEndpoints in interface TrafficShaperNoAvailableGosCopyright © 2018. All Rights Reserved.