src/main/java/com/ning/metrics/goodwill/access/CachingGoodwillAccessor.java
public GoodwillSchema getSchema(final String schemaName)
    {
        GoodwillSchema schema = knownSchemata.get(schemaName);
        if (schema == null) {
            refreshSchemataCache();
            schema = knownSchemata.get(schemaName);
        }

        return schema;
    }
public GoodwillSchema getSchema(final String schemaName)
    {
        GoodwillSchema schema = knownSchemata.get(schemaName);
        if (schema == null) {
            refreshSchemataCache();
            schema = knownSchemata.get(schemaName);
        }

        return schema;
    }
public GoodwillSchema getSchema ( final String schemaName ) { GoodwillSchema schema = knownSchemata . get ( schemaName ) ; if ( schema == null ) { refreshSchemataCache ( ) ; schema = knownSchemata . get ( schemaName ) ; } return schema ; }
Given a schema name, get the associated GoodwillSchema. This method tries hard to find it, i.e. it will refresh the
cache if the schema is not in the cache.

@param schemaName name of the schema to find
@return GoodwillSchema describing the schema
Given a schema name get the associated GoodwillSchema . This method tries hard to find it i . e . it will refresh the cache if the schema is not in the cache .