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()
DirectoryListener
isSynchronous
in interface DirectoryListener
public void requestAbandoned(org.apache.directory.api.ldap.model.message.AbandonableRequest searchRequest)
requestAbandoned
in interface org.apache.directory.api.ldap.model.message.AbandonListener
searchRequest
- The SearchRequest to abandonpublic void entryAdded(AddOperationContext addContext)
entryAdded
in interface DirectoryListener
addContext
- The Addition operation contextpublic void entryDeleted(DeleteOperationContext deleteContext)
entryDeleted
in interface DirectoryListener
deleteContext
- The delete operation contextpublic void entryModified(ModifyOperationContext modifyContext)
entryModified
in interface DirectoryListener
modifyContext
- The modify operation contextpublic void entryMoved(MoveOperationContext moveContext)
entryMoved
in interface DirectoryListener
moveContext
- The move operation contextpublic void entryMovedAndRenamed(MoveAndRenameOperationContext moveAndRenameContext)
entryMovedAndRenamed
in interface DirectoryListener
moveAndRenameContext
- The move and rename operation contextpublic void entryRenamed(RenameOperationContext renameContext)
entryRenamed
in interface DirectoryListener
renameContext
- The rename operation contextpublic boolean isPushInRealTime()
public void setPushInRealTime(boolean pushInRealTime)
pushInRealTime
- true if the entries must be push to the consumer directlyCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.