incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r734665 - in /incubator/sling/trunk/extensions/event/src/main: java/org/apache/sling/event/impl/EventingThreadPool.java resources/OSGI-INF/metatype/metatype.properties
Date Thu, 15 Jan 2009 11:00:36 GMT
Author: cziegeler
Date: Thu Jan 15 03:00:35 2009
New Revision: 734665

URL: http://svn.apache.org/viewvc?rev=734665&view=rev
Log:
SLING-829 - Add descriptions for thread pool and prefix configs with "Apache Sling"

Modified:
    incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java
    incubator/sling/trunk/extensions/event/src/main/resources/OSGI-INF/metatype/metatype.properties

Modified: incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java?rev=734665&r1=734664&r2=734665&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java
(original)
+++ incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/EventingThreadPool.java
Thu Jan 15 03:00:35 2009
@@ -27,7 +27,7 @@
 
 /**
  * The configurable eventing thread pool.
- * @scr.component
+ * @scr.component label="%event.pool.name" description="%event.pool.description"
  * @scr.service interface="org.apache.sling.event.ThreadPool"
  *
  * @scr.property nameRef="PROPERTY_MIN_POOL_SIZE" valueRef="DEFAULT_MIN_POOL_SIZE"

Modified: incubator/sling/trunk/extensions/event/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/event/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=734665&r1=734664&r2=734665&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/event/src/main/resources/OSGI-INF/metatype/metatype.properties
(original)
+++ incubator/sling/trunk/extensions/event/src/main/resources/OSGI-INF/metatype/metatype.properties
Thu Jan 15 03:00:35 2009
@@ -24,7 +24,7 @@
 
 #
 # Distribution Event Handler
-dist.events.name = Distribution Event Handler 
+dist.events.name = Apache Sling Distribution Event Handler 
 dist.events.description = Distributes local OSGi Event Admin events to \
  other nodes of the same cluster. The events are written to the JCR \
  repository for distribution to other nodes while events written to the \
@@ -33,7 +33,7 @@
 
 #
 # Job Event Handler
-job.events.name = Job Event Handler 
+job.events.name = Apache Sling Job Event Handler 
 job.events.description = Manages job scheduling on a single system as well \
  as on a cluster. A Job runs only on a single cluster node. \
  The respective scheduling is persisted in the repository and distributed \
@@ -69,7 +69,24 @@
  by sending a message to the Job Event Handler. If the Job Event Handler does not \
  receive such a message in the configured time, it reschedules the job. The configured \
  time is in seconds (default is 90 secs).
- 
+
+#
+# Event Pool
+event.pool.name = Apache Sling Event Thread Pool 
+event.pool.description = This is the thread pool used by the Apache Sling eventing support.
+
+minPoolSize.name = Min Pool Size
+minPoolSize.description = The minimum pool size. The minimum pool size should be \
+ higher than 20. Approx 10 threads are in use by the system, so a pool size of 20 \
+ allows to process 10 events in parallel.
+
+maxPoolSize.name = Max Pool Size
+maxPoolSize.description = The maximum pool size. The maximum pool size should be higher than
\
+ the minimum pool size.
+
+queueSize.name = Queue Size
+queueSize.description = The maximum size of the thread queue if the pool is exhausted.
+
 #
 # Shared labels
 scheduler.period.name = Event Cleanup Internal



Mime
View raw message