|
||||||||||
| 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.SyncReplSearchListener
public class SyncReplSearchListener
A listener associated with the replication system. It does send the modifications to the consumer, if it's connected, or store the data into a queue for a later transmission. Note: we always log the entry irrespective of the client's connection status for guaranteed delivery
| Method Summary | |
|---|---|
void |
entryAdded(AddOperationContext addContext)
Process a ADD operation. |
void |
entryDeleted(DeleteOperationContext deleteContext)
Process a Delete operation. |
void |
entryModified(ModifyOperationContext modifyContext)
Process a Modify operation. |
void |
entryMoved(MoveOperationContext moveContext)
Process a Move operation. |
void |
entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
Process a MoveAndRename operation. |
void |
entryRenamed(RenameOperationContext renameContext)
Process a Rename operation. |
boolean |
isPushInRealTime()
|
void |
requestAbandoned(org.apache.directory.shared.ldap.model.message.AbandonableRequest searchRequest)
Abandon a SearchRequest |
void |
setPushInRealTime(boolean pushInRealTime)
Set the pushInRealTime parameter |
void |
setSearchRequest(org.apache.directory.shared.ldap.model.message.SearchRequest searchRequest)
Stores the SearchRequest, and associate a AbandonListener to it |
void |
setSession(LdapSession session)
Store the Ldap session to use |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setSession(LdapSession session)
session - The Ldap Session to usepublic void setSearchRequest(org.apache.directory.shared.ldap.model.message.SearchRequest searchRequest)
searchRequest - The SearchRequest instance to storepublic void requestAbandoned(org.apache.directory.shared.ldap.model.message.AbandonableRequest searchRequest)
requestAbandoned in interface org.apache.directory.shared.ldap.model.message.AbandonListenersearchRequest - The SearchRequest to abandonpublic void entryAdded(AddOperationContext addContext)
entryAdded in interface DirectoryListeneraddContext - The Addition operation contextpublic void entryDeleted(DeleteOperationContext deleteContext)
entryDeleted in interface DirectoryListenerdeleteContext - The delete operation contextpublic void entryModified(ModifyOperationContext modifyContext)
entryModified in interface DirectoryListenermodifyContext - The modify operation contextpublic void entryMoved(MoveOperationContext moveContext)
entryMoved in interface DirectoryListenermoveContext - The move operation contextpublic void entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
entryMovedAndRenamed in interface DirectoryListenermoveAndRenameContext - The move and rename operation contextpublic void entryRenamed(RenameOperationContext renameContext)
entryRenamed in interface DirectoryListenerrenameContext - The rename operation contextpublic boolean isPushInRealTime()
public void setPushInRealTime(boolean pushInRealTime)
pushInRealTime - true if the entries must be push to the consumer directlypublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||