private ConcurrentHashMap < String , ManagedSchema > getManagedSchemaMap ( ) { if ( managedSchemaMap == null ) { synchronized ( this ) { if ( managedSchemaMap == null ) { managedSchemaMap = new ConcurrentHashMap < String , ManagedSchema > ( ) ; populateManagedSchemaMap ( ) ; } } } return managedSchemaMap ; }
Get the managedSchemaMap lazily loading it if it hasn t been initialized yet . Members of this class should never access the managedSchemaMap directly but should always access it through this method .