/** * This method load the record information by the internal cluster segment. It's for compatibility * with older database than 0.9.25. * * @compatibility 0.9.25 * @return * @throws OSerializationException */ public OStorageConfiguration load() throws OSerializationException { final byte[] record = storage.readRecord(CONFIG_RID, null, false, null, false).getResult().buffer; if (record == null) throw new OStorageException( "Cannot load database's configuration. The database seems to be corrupted."); fromStream(record); return this; }