Package org.opends.server.core
Class SynchronousStrategy
- java.lang.Object
-
- org.opends.server.core.SynchronousStrategy
-
- All Implemented Interfaces:
QueueingStrategy
public final class SynchronousStrategy extends Object implements QueueingStrategy
This class implements the "synchronous" strategy, that is the operation is directly handled, without going to the work queue.
-
-
Constructor Summary
Constructors Constructor Description SynchronousStrategy(ServerContext serverContext)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enqueueRequest(Operation operation)
Run the request synchronously.
-
-
-
Constructor Detail
-
SynchronousStrategy
public SynchronousStrategy(ServerContext serverContext)
Constructor.- Parameters:
serverContext
- the server context
-
-
Method Detail
-
enqueueRequest
public void enqueueRequest(Operation operation) throws LdapException
Run the request synchronously.- Specified by:
enqueueRequest
in interfaceQueueingStrategy
- Parameters:
operation
- Operation to run.- Throws:
LdapException
- If a problem occurs in the Directory Server.
-
-