public static HealthCheckRegistry tryGetDefault() {
        final String name = defaultRegistryName.get();
        if (name != null) {
            return getOrCreate(name);
        }
        return null;
    }
public static HealthCheckRegistry tryGetDefault ( ) { final String name = defaultRegistryName . get ( ) ; if ( name != null ) { return getOrCreate ( name ) ; } return null ; }
Same as {@link #getDefault()} except returns null when the default registry has not been set.

@return the default registry or null