|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.ldap.replication.provider.ReplConsumerManager
public class ReplConsumerManager
Manage the consumers on the provider : add them, and remove them. All the consumers configuration will be stored in the 'ou=consumers,ou=system' branch.
| Constructor Summary | |
|---|---|
ReplConsumerManager(org.apache.directory.server.core.api.DirectoryService directoryService)
Create a new instance of the producer replication manager. |
|
| Method Summary | |
|---|---|
void |
addConsumerEntry(ReplicaEventLog replica)
Add a new consumer entry in ou=consumers,ou=system |
void |
deleteConsumerEntry(ReplicaEventLog replica)
Delete an existing consumer entry from ou=consumers,ou=system |
List<ReplicaEventLog> |
getReplicaEventLogs()
Get the list of consumers' configuration |
void |
updateReplicaLastSentCsn(ReplicaEventLog replica)
Store the new CSN sent by the consumer in place of the previous one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplConsumerManager(org.apache.directory.server.core.api.DirectoryService directoryService)
throws Exception
directoryService - The directoryService instance
Exception - if we add an error while creating the configuration| Method Detail |
|---|
public void addConsumerEntry(ReplicaEventLog replica)
throws Exception
replica - The added consumer replica
Exception - If the addition failed
public void deleteConsumerEntry(ReplicaEventLog replica)
throws org.apache.directory.api.ldap.model.exception.LdapException
replica - The added consumer replica
Exception - If the addition failed
org.apache.directory.api.ldap.model.exception.LdapException
public void updateReplicaLastSentCsn(ReplicaEventLog replica)
throws Exception
replica - The consumer informations
Exception - If the update failed
public List<ReplicaEventLog> getReplicaEventLogs()
throws Exception
Exception - If we had an error while building this list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||