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