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 of
ZoneList
, 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
Modifier and TypeMethodDescriptionall()
All zones from the initial pool.Zones which are upgraded by the controller.not()
Negates the next filter.default ZoneList
Zones in the specified cloudZones where config servers are up and running.Zones where hosts must be reprovisioned to upgrade their OSroutingMethod
(RoutingMethod method) Zones where traffic is routed using given method
-
Method Details
-
not
ZoneFilter not()Negates the next filter. -
controllerUpgraded
ZoneList controllerUpgraded()Zones which are upgraded by the controller. -
routingMethod
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. -
ofCloud
Zones in the specified cloud
-