Package com.yahoo.config.provision.zone
Interface ZoneFilter
-
- All Known Subinterfaces:
ZoneList
public interface ZoneFilter
A ZoneId list which can be filtered in various ways; elements can be accessed after at least one filter. The methods here return instances ofZoneList
, which extends ZoneFilter, but with accessors and additional filters. This forces the developer to consider which of the filters in this class to apply, prior to accessing any zones.- Author:
- jonmv
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ZoneList
all()
All zones from the initial pool.ZoneList
controllerUpgraded()
Zones which are upgraded by the controller.ZoneFilter
not()
Negates the next filter.default ZoneList
ofCloud(CloudName cloud)
Zones in the specified cloudZoneList
reachable()
Zones where config servers are up and running.ZoneList
reprovisionToUpgradeOs()
Zones where hosts must be reprovisioned to upgrade their OSZoneList
routingMethod(RoutingMethod method)
Zones where traffic is routed using given method
-
-
-
Method Detail
-
not
ZoneFilter not()
Negates the next filter.
-
controllerUpgraded
ZoneList controllerUpgraded()
Zones which are upgraded by the controller.
-
routingMethod
ZoneList routingMethod(RoutingMethod method)
Zones where traffic is routed using given method
-
reachable
ZoneList reachable()
Zones where config servers are up and running.
-
reprovisionToUpgradeOs
ZoneList reprovisionToUpgradeOs()
Zones where hosts must be reprovisioned to upgrade their OS
-
all
ZoneList all()
All zones from the initial pool.
-
-