| | |
| | | * Represents an entity (storage, backend) that can be backed up. |
| | | * <p> |
| | | * The files to backup must be located under a root directory given by |
| | | * {@code getDirectory()} method. They can be located at any depth level |
| | | * {@link #getDirectory()} method. They can be located at any depth level |
| | | * in a sub-directory. For example, file1, file2 and file3 can be returned as |
| | | * files to backup: |
| | | * <pre> |
| | |
| | | * otherwise it is an indirect restore. |
| | | * <p> |
| | | * Actions taken before and after the restore should be handled in the {@code beforeRestore()} and |
| | | * {@code afterRestore()} methods. |
| | | * {@link #afterRestore(Path, Path)} methods. |
| | | * |
| | | * @see {@link BackupManager} |
| | | */ |
| | |
| | | /** |
| | | * A backend that provides access to the changelog, i.e. the "cn=changelog" |
| | | * suffix. It is a read-only backend that is created by a |
| | | * {@code ReplicationServer} and is not configurable. |
| | | * {@link ReplicationServer} and is not configurable. |
| | | * <p> |
| | | * There are two modes to search the changelog: |
| | | * <ul> |
| | |
| | | * <p> |
| | | * Usage: |
| | | * <pre> |
| | | * {@code |
| | | * DBCursor cursor = ...; |
| | | * try { |
| | | * while (cursor.next()) { |
| | |
| | | * Only changes older than the medium consistency point are inserted in the |
| | | * CNIndexDB. As a consequence this class is also responsible for maintaining |
| | | * the medium consistency point (indirectly through an |
| | | * {@code ECLMultiDomainDBCursor}). |
| | | * {@link ECLMultiDomainDBCursor}). |
| | | */ |
| | | public class ChangeNumberIndexer extends DirectoryThread |
| | | { |
| | |
| | | * <p> |
| | | * Usage example: |
| | | * <pre> |
| | | * {@code |
| | | * Log<K, V> log = null; |
| | | * try |
| | | * { |
| | |
| | | * </ul> |
| | | * <p> |
| | | * A log file is NOT intended to be used directly, but only has part of a |
| | | * {@code Log}. In particular, there is no concurrency management and no checks |
| | | * {@link Log}. In particular, there is no concurrency management and no checks |
| | | * to ensure that log is not closed when performing any operation on it. Those |
| | | * are managed at the {@code Log} level. |
| | | * |