public static NodeSlice fraction(double fraction) {
        return new NodeSlice(OptionalDouble.of(fraction), OptionalLong.empty());
    }
Returns a slice matching the given fraction of nodes
config-provisioning/src/main/java/com/yahoo/config/provision/zone/NodeSlice.java