| | |
| | | logError(msg); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * Removes the changelog database directory. |
| | | */ |
| | | public void removeDb() |
| | | { |
| | | this.changelogDB.removeDB(); |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | |
| | | return this.changelogDB; |
| | | } |
| | | |
| | | /** |
| | | * Get the replication server DB directory. |
| | | * This is useful for tests to be able to do some cleanup. Might even be |
| | | * useful for the server some day. |
| | | * |
| | | * @return the Database directory name |
| | | */ |
| | | public String getDbDirName() |
| | | { |
| | | return this.changelogDB.getDBDirectoryName(); |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public String toString() |