public synchronized OServerAdmin freezeDatabase ( final String storageType ) throws IOException { OFreezeDatabaseRequest request = new OFreezeDatabaseRequest ( storage . getName ( ) , storageType ) ; OFreezeDatabaseResponse response = networkAdminOperation ( request , "Cannot freeze the remote storage: " + storage . getName ( ) ) ; return this ; }
Freezes the database by locking it in exclusive mode .