/** * Hook that must be called whenever there is an HA mode switch (eg master/slave switch). This * must only be called when the database is otherwise inaccessible. */ public void afterModeSwitch() { loadSchemaCache(); // Stop all running transactions and get rid of all pooled transactions, as they will otherwise // reference // components that have been swapped out during the mode switch. kernelModule.kernelTransactions().disposeAll(); }
public ResourceIterator<File> listStoreFiles() throws IOException { return kernelModule.fileListing().listStoreFiles(); }
public KernelAPI getKernel() { return kernelModule.kernelAPI(); }