sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsedd...@apache.org
Subject svn commit: r1716599 - in /sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads: ./ jmx/
Date Thu, 26 Nov 2015 10:33:28 GMT
Author: jsedding
Date: Thu Nov 26 10:33:27 2015
New Revision: 1716599

URL: http://svn.apache.org/viewvc?rev=1716599&view=rev
Log:
SLING-5333 - Commons Threads exported interfaces/classes should be @ProviderType

Modified:
    sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java
    sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPool.java
    sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java
    sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java
    sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java
    sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java
    sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/package-info.java

Modified: sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java?rev=1716599&r1=1716598&r2=1716599&view=diff
==============================================================================
--- sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java
(original)
+++ sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ModifiableThreadPoolConfig.java
Thu Nov 26 10:33:27 2015
@@ -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.ThreadFactor
  * - daemon: false
  * - factory: null (= default jvm thread factory)
  */
+@ProviderType
 public final class ModifiableThreadPoolConfig implements ThreadPoolConfig {
 
     /** Configuration property for the min pool size. */

Modified: sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPool.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPool.java?rev=1716599&r1=1716598&r2=1716599&view=diff
==============================================================================
--- sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPool.java
(original)
+++ sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPool.java
Thu Nov 26 10:33:27 2015
@@ -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 {
 
     /**

Modified: sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java?rev=1716599&r1=1716598&r2=1716599&view=diff
==============================================================================
--- sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java
(original)
+++ sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolConfig.java
Thu Nov 26 10:33:27 2015
@@ -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. */

Modified: sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java?rev=1716599&r1=1716598&r2=1716599&view=diff
==============================================================================
--- sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java
(original)
+++ sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/ThreadPoolManager.java
Thu Nov 26 10:33:27 2015
@@ -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 */

Modified: sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java?rev=1716599&r1=1716598&r2=1716599&view=diff
==============================================================================
--- sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java
(original)
+++ sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/ThreadPoolMBean.java
Thu Nov 26 10:33:27 2015
@@ -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 {
 
     /**

Modified: sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java?rev=1716599&r1=1716598&r2=1716599&view=diff
==============================================================================
--- sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java
(original)
+++ sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/jmx/package-info.java
Thu Nov 26 10:33:27 2015
@@ -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

Modified: sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/package-info.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/package-info.java?rev=1716599&r1=1716598&r2=1716599&view=diff
==============================================================================
--- sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/package-info.java
(original)
+++ sling/trunk/bundles/commons/threads/src/main/java/org/apache/sling/commons/threads/package-info.java
Thu Nov 26 10:33:27 2015
@@ -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



Mime
View raw message