public class ServiceMap extends Object
| Constructor and Description |
|---|
ServiceMap() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,io.fabric8.gateway.api.ServiceDetails> |
getPathMap(String path) |
List<String> |
getPaths()
Returns a list of all the current paths for the services
|
List<io.fabric8.gateway.api.ServiceDetails> |
getServices(String path)
Returns a list of all the current services for the given path
|
void |
serviceRemoved(String path,
io.fabric8.gateway.api.ServiceDetails service)
When a service is added or updated
|
void |
serviceUpdated(String path,
io.fabric8.gateway.api.ServiceDetails service)
When a service is added or updated
|
public List<io.fabric8.gateway.api.ServiceDetails> getServices(String path)
public void serviceUpdated(String path, io.fabric8.gateway.api.ServiceDetails service)
public void serviceRemoved(String path, io.fabric8.gateway.api.ServiceDetails service)
Copyright © 2011–2014 Red Hat. All rights reserved.