From 4a462adaa29230742739b64af01ceea01d1ee560 Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Thu, 26 Nov 2026 05:36:42 +0000
Subject: [PATCH] Speed up Linux precommit integration tests (#1329)
---
opendj-server-legacy/src/main/java/org/opends/server/api/WorkQueue.java | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/WorkQueue.java b/opendj-server-legacy/src/main/java/org/opends/server/api/WorkQueue.java
index 60cfeed..7862170 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/WorkQueue.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/WorkQueue.java
@@ -13,6 +13,7 @@
*
* Copyright 2006-2010 Sun Microsystems, Inc.
* Portions Copyright 2013-2016 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
*/
package org.opends.server.api;
@@ -71,6 +72,18 @@
/**
+ * Allows a queue to reject new submissions and release submitters waiting for capacity
+ * before the server shuts down its connection handlers. Queued and active operations
+ * can continue until {@link #finalizeWorkQueue(LocalizableMessage)}.
+ */
+ public void stopAcceptingOperations()
+ {
+ // By default, admission stops when the queue is finalized.
+ }
+
+
+
+ /**
* Performs any necessary finalization for this work queue,
* including ensuring that all active operations are interrupted or
* will be allowed to complete, and that all pending operations will
--
Gitblit v1.10.0