From 693421b38b25cf570415fbb205a78948c32afeb9 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 26 Mar 2013 16:57:29 +0000
Subject: [PATCH] OPENDJ-832 Leverage the work queue for processing requests received on the HTTP connection handler
---
opends/src/server/org/opends/server/core/SynchronousStrategy.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/SynchronousStrategy.java b/opends/src/server/org/opends/server/core/SynchronousStrategy.java
index be1fb77..533c889 100644
--- a/opends/src/server/org/opends/server/core/SynchronousStrategy.java
+++ b/opends/src/server/org/opends/server/core/SynchronousStrategy.java
@@ -23,12 +23,12 @@
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
- * Portions Copyright 2011 ForgeRock AS
+ * Portions Copyright 2011-2013 ForgeRock AS
*/
package org.opends.server.core;
-import org.opends.server.types.AbstractOperation;
import org.opends.server.types.DirectoryException;
+import org.opends.server.types.Operation;
/**
*
@@ -44,8 +44,8 @@
* @throws org.opends.server.types.DirectoryException
* If a problem occurs in the Directory Server.
*/
- public void enqueueRequest(AbstractOperation operation)
- throws DirectoryException {
+ @Override
+ public void enqueueRequest(Operation operation) throws DirectoryException {
operation.run();
operation.operationCompleted();
}
--
Gitblit v1.10.0