Package org.opends.server.core
Class SynchronousStrategy
- java.lang.Object
-
- org.opends.server.core.SynchronousStrategy
-
- All Implemented Interfaces:
QueueingStrategy
public 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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenqueueRequest(Operation operation)Run the request synchronously.
-
-
-
Method Detail
-
enqueueRequest
public void enqueueRequest(Operation operation) throws DirectoryException
Run the request synchronously.- Specified by:
enqueueRequestin interfaceQueueingStrategy- Parameters:
operation- Operation to run.- Throws:
DirectoryException- If a problem occurs in the Directory Server.
-
-