1 21 22 package org.apache.derby.database; 23 24 32 33 34 import org.apache.derby.catalog.UUID; 35 36 import java.sql.Timestamp ; 37 import java.sql.SQLException ; 38 import java.util.Locale ; 39 import java.io.File ; 40 41 49 public interface Database 50 { 51 52 59 public boolean isReadOnly(); 60 61 69 public void dropAllJDBCMetaDataSPSes() 70 throws SQLException ; 71 72 82 public void backup(String backupDir, boolean wait) 83 throws SQLException ; 84 85 86 109 public void backupAndEnableLogArchiveMode( 110 String backupDir, 111 boolean deleteOnlineArchivedLogFiles, 112 boolean wait) 113 throws SQLException ; 114 115 116 128 public void disableLogArchiveMode(boolean deleteOnlineArchivedLogFiles) 129 throws SQLException ; 130 131 132 138 public void freeze() throws SQLException ; 139 140 146 public void unfreeze() throws SQLException ; 147 148 154 public void checkpoint() throws SQLException ; 155 156 159 public Locale getLocale(); 160 161 166 public UUID getId(); 167 } 168 169 170 171 | Popular Tags |