public class SyncReplSearchListener extends Object implements DirectoryListener, org.apache.directory.api.ldap.model.message.AbandonListener
| Modifier and Type | Method and Description |
|---|---|
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() |
boolean |
isSynchronous()
indicates if this listener needs to be invoked synchronously
|
void |
requestAbandoned(org.apache.directory.api.ldap.model.message.AbandonableRequest searchRequest)
Abandon a SearchRequest
|
void |
setPushInRealTime(boolean pushInRealTime)
Set the pushInRealTime parameter
|
void |
setSearchRequest(org.apache.directory.api.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() |
public void setSession(LdapSession session)
session - The Ldap Session to usepublic void setSearchRequest(org.apache.directory.api.ldap.model.message.SearchRequest searchRequest)
searchRequest - The SearchRequest instance to storepublic boolean isSynchronous()
DirectoryListenerisSynchronous in interface DirectoryListenerpublic void requestAbandoned(org.apache.directory.api.ldap.model.message.AbandonableRequest searchRequest)
requestAbandoned in interface org.apache.directory.api.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 directlyCopyright © 2021. All rights reserved.