|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Q - type of ldap requestS - type of ldap responsepublic interface OperationWorker<Q extends Request,S>
Interface for ldap operation workers. Operation workers leverage the java.util.concurrent package to execute non-blocking operations.
| Method Summary | |
|---|---|
Collection<Future<Response<S>>> |
execute(Q... requests)
Execute an ldap operation for each request on a separate thread. |
Future<Response<S>> |
execute(Q request)
Execute an ldap operation on a separate thread. |
Collection<Response<S>> |
executeToCompletion(Q... requests)
Execute an ldap operation for each request on a separate thread and waits for each operation to complete. |
| Method Detail |
|---|
Future<Response<S>> execute(Q request)
request - containing the data required by this operation
Collection<Future<Response<S>>> execute(Q... requests)
requests - containing the data required by this operation
Collection<Response<S>> executeToCompletion(Q... requests)
requests - containing the data required by this operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||