@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface InMemoryInterceptedSearchEntry extends InMemoryInterceptedResult
InMemoryOperationInterceptor
API.Modifier and Type | Method and Description |
---|---|
ReadOnlySearchRequest |
getRequest()
Retrieves the search request that is being processed.
|
SearchResultEntry |
getSearchEntry()
Retrieves the search result entry to be returned to the client.
|
void |
setSearchEntry(Entry entry)
Replaces the search result entry to be returned to the client.
|
getConnectedAddress, getConnectedPort, getConnectionID, getMessageID, getProperty, sendUnsolicitedNotification
@NotNull ReadOnlySearchRequest getRequest()
@Nullable SearchResultEntry getSearchEntry()
void setSearchEntry(@Nullable Entry entry)
null
if the entry should be suppressed rather than being returned
to the client. If the provided entry is a SearchResultEntry
, then
it may optionally include one or more controls to provide to the client.
If it is any other type of Entry
, then it will not include any
controls.entry
- The search result entry to be returned to the client. It
may be null
if the entry should be suppressed rather
than being returned to the client. If the provided entry is
a SearchResultEntry
, then it may optionally include
one or more controls to provide to the client. If it is any
other type of Entry
, then it will not include any
controls.