public class ReplicationEnvironment extends Object implements ChangelogStateProvider
A changelog has a root directory, under which the following directories and files are created :
Each domain directory contains the following directories and files :
Log
class for details on the log files.
Layout example with two domains "o=test1" and "o=test2", each having server ids 22 and 33, with server id 33 for domain "o=test1" being offline :
+---changelog
| \---domains.state [contains mapping: 1 => "o=test1", 2 => "o=test2"]
| \---changenumberindex
| \--- 1.log [contains records with keys greater than or equal to 1
| \--- 51.log [contains last records written with keys greater than or equal to 51
| \--- rotationtime198745512.last
| \---1.domain
| \---generation1.id
| \---22.server
| \---00000163bbcbb2b0001600000001.log [contains last records written]
| \---33.server
| \---00000163bbcbb2b000210000002a.log [contains last records written]
| \---2.domain
| \---generation1.id
| \---22.server
| \---00000163bbcbeffb00160000002a.log [contains last records written]
| \---33.server
| \---00000163bbcbeffb002100000044.log [contains last records written]
Modifier and Type | Method and Description |
---|---|
ChangelogState |
getChangelogState()
Returns the current state of the replication changelog.
|
public ChangelogState getChangelogState()
ChangelogStateProvider
getChangelogState
in interface ChangelogStateProvider
ChangelogState
.Copyright 2010-2022 ForgeRock AS.