private boolean isZonesSatisfied ( ) { boolean zonesSatisfied = false ; if ( pipelineData . getZonesRequired ( ) == null ) { zonesSatisfied = true ; } else { int numZonesSatisfied = pipelineData . getZoneResponses ( ) . size ( ) ; if ( numZonesSatisfied >= ( pipelineData . getZonesRequired ( ) + 1 ) ) { zonesSatisfied = true ; } } return zonesSatisfied ; }
Check if zone count policy is satisfied