|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.concurrent.QueueingSearchExecutor.SearchItem
public static class QueueingSearchExecutor.SearchItem
Contains data returned when using the QueueingSearchExecutor.
| Constructor Summary | |
|---|---|
QueueingSearchExecutor.SearchItem(Exception exception)
Creates a new blocking search item. |
|
QueueingSearchExecutor.SearchItem(IntermediateResponse response)
Creates a new blocking search item. |
|
QueueingSearchExecutor.SearchItem(Response<SearchResult> response)
Creates a new blocking search item. |
|
QueueingSearchExecutor.SearchItem(SearchEntry entry)
Creates a new blocking search item. |
|
QueueingSearchExecutor.SearchItem(SearchReference reference)
Creates a new blocking search item. |
|
| Method Summary | |
|---|---|
SearchEntry |
getEntry()
Returns the search entry contained in this item or null if this item does not contain a search entry. |
Exception |
getException()
Returns the exception contained in this item or null if this item does not contain an exception. |
IntermediateResponse |
getIntermediateResponse()
Returns the intermediate response contained in this item or null if this item does not contain an intermediate response. |
SearchReference |
getReference()
Returns the search reference contained in this item or null if this item does not contain a search reference. |
Response<SearchResult> |
getResponse()
Returns the response contained in this item or null if this item does not contain a response. |
boolean |
isEntry()
Returns whether this item represents a search entry. |
boolean |
isException()
Returns whether this item represents an exception. |
boolean |
isIntermediateResponse()
Returns whether this item represents an intermediate response. |
boolean |
isReference()
Returns whether this item represents a search reference. |
boolean |
isResponse()
Returns whether this item represents a response. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueueingSearchExecutor.SearchItem(SearchEntry entry)
entry - that represents this itempublic QueueingSearchExecutor.SearchItem(SearchReference reference)
reference - that represents this itempublic QueueingSearchExecutor.SearchItem(IntermediateResponse response)
response - that represents this itempublic QueueingSearchExecutor.SearchItem(Response<SearchResult> response)
response - that represents this itempublic QueueingSearchExecutor.SearchItem(Exception exception)
exception - that represents this item| Method Detail |
|---|
public boolean isEntry()
public SearchEntry getEntry()
public boolean isReference()
public SearchReference getReference()
public boolean isIntermediateResponse()
public IntermediateResponse getIntermediateResponse()
public boolean isResponse()
public Response<SearchResult> getResponse()
public boolean isException()
public Exception getException()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||