You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:26:27 UTC
[sling-org-apache-sling-commons-threads] 10/13: SLING-5333 -
Commons Threads exported interfaces/classes should be @ProviderType
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.threads-3.2.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-threads.git
commit 133b6f72045c1485898b056edcbe4bdb35176998
Author: Julian Sedding <js...@apache.org>
AuthorDate: Thu Nov 26 10:33:27 2015 +0000
SLING-5333 - Commons Threads exported interfaces/classes should be @ProviderType
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/threads@1716599 13f79535-47bb-0310-9956-ffa450edef68
---
.../org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java | 3 +++
src/main/java/org/apache/sling/commons/threads/ThreadPool.java | 3 +++
src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java | 3 +++
src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java | 3 +++
.../java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java | 3 +++
src/main/java/org/apache/sling/commons/threads/jmx/package-info.java | 2 +-
src/main/java/org/apache/sling/commons/threads/package-info.java | 2 +-
7 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java b/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java
index 51bd166..7f62afd 100644
--- a/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java
+++ b/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java
@@ -16,6 +16,8 @@
*/
package org.apache.sling.commons.threads;
+import aQute.bnd.annotation.ProviderType;
+
import java.util.concurrent.ThreadFactory;
/**
@@ -34,6 +36,7 @@ import java.util.concurrent.ThreadFactory;
* - daemon: false
* - factory: null (= default jvm thread factory)
*/
+@ProviderType
public final class ModifiableThreadPoolConfig implements ThreadPoolConfig {
/** Configuration property for the min pool size. */
diff --git a/src/main/java/org/apache/sling/commons/threads/ThreadPool.java b/src/main/java/org/apache/sling/commons/threads/ThreadPool.java
index 746206c..7fa8c16 100644
--- a/src/main/java/org/apache/sling/commons/threads/ThreadPool.java
+++ b/src/main/java/org/apache/sling/commons/threads/ThreadPool.java
@@ -16,6 +16,8 @@
*/
package org.apache.sling.commons.threads;
+import aQute.bnd.annotation.ProviderType;
+
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
@@ -23,6 +25,7 @@ import java.util.concurrent.Future;
* The thread pool interface allows to start runnables by
* getting threads from a managed pool.
*/
+@ProviderType
public interface ThreadPool {
/**
diff --git a/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java b/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java
index 57fe344..74cbf76 100644
--- a/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java
+++ b/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java
@@ -16,11 +16,14 @@
*/
package org.apache.sling.commons.threads;
+import aQute.bnd.annotation.ProviderType;
+
import java.util.concurrent.ThreadFactory;
/**
* The thread pool configuration.
*/
+@ProviderType
public interface ThreadPoolConfig {
/** The thread pool policies. */
diff --git a/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java b/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java
index fa69df2..3fecfbb 100644
--- a/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java
+++ b/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java
@@ -17,10 +17,13 @@
package org.apache.sling.commons.threads;
+import aQute.bnd.annotation.ProviderType;
+
/**
* The <code>ThreadPoolManager</code> manages thread pools.
*
*/
+@ProviderType
public interface ThreadPoolManager {
/** The default thread pool name */
diff --git a/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java b/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java
index bdee6b3..1674111 100644
--- a/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java
+++ b/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java
@@ -16,9 +16,12 @@
*/
package org.apache.sling.commons.threads.jmx;
+import aQute.bnd.annotation.ProviderType;
+
/**
* This is the management interface for a Sling Thread Pool.
*/
+@ProviderType
public interface ThreadPoolMBean {
/**
diff --git a/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java b/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java
index 8a3df4d..2e9107f 100644
--- a/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java
+++ b/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-@Version("1.0.0")
+@Version("1.0.1")
package org.apache.sling.commons.threads.jmx;
import aQute.bnd.annotation.Version;
\ No newline at end of file
diff --git a/src/main/java/org/apache/sling/commons/threads/package-info.java b/src/main/java/org/apache/sling/commons/threads/package-info.java
index ff46c0d..b7b9b97 100644
--- a/src/main/java/org/apache/sling/commons/threads/package-info.java
+++ b/src/main/java/org/apache/sling/commons/threads/package-info.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-@Version("3.2.0")
+@Version("3.2.1")
package org.apache.sling.commons.threads;
import aQute.bnd.annotation.Version;
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.