clustering/common/src/main/java/org/jboss/as/clustering/dmr/ModelNodes.java
public static OptionalDouble optionalDouble(ModelNode value) {
        return value.isDefined() ? OptionalDouble.of(value.asDouble()) : OptionalDouble.empty();
    }
public static OptionalDouble optionalDouble(ModelNode value) {
        return value.isDefined() ? OptionalDouble.of(value.asDouble()) : OptionalDouble.empty();
    }
Returns the optional double value of the specified {@link ModelNode}.
@param value the model node
@return an optional value