felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1622444 - /felix/site/trunk/content/documentation/subprojects/apache-felix-event-admin.mdtext
Date Thu, 04 Sep 2014 10:12:53 GMT
Author: cziegeler
Date: Thu Sep  4 10:12:53 2014
New Revision: 1622444

URL: http://svn.apache.org/r1622444
Log:
CMS commit to felix by cziegeler

Modified:
    felix/site/trunk/content/documentation/subprojects/apache-felix-event-admin.mdtext

Modified: felix/site/trunk/content/documentation/subprojects/apache-felix-event-admin.mdtext
URL: http://svn.apache.org/viewvc/felix/site/trunk/content/documentation/subprojects/apache-felix-event-admin.mdtext?rev=1622444&r1=1622443&r2=1622444&view=diff
==============================================================================
--- felix/site/trunk/content/documentation/subprojects/apache-felix-event-admin.mdtext (original)
+++ felix/site/trunk/content/documentation/subprojects/apache-felix-event-admin.mdtext Thu
Sep  4 10:12:53 2014
@@ -1,8 +1,5 @@
-translation_pending: true
 Title: Apache Felix Event Admin
 
-# Apache Felix Event Admin
-
 The Event Admin Service Specification, part of the OSGi Compendium specification, defines
a general inter-bundle communication mechanism. The communication conforms to the popular
publish/subscribe paradigm and can be performed in a synchronous or asysnchronous manner.
 
 The main components in a publish/subscribe communication are:
@@ -155,47 +152,74 @@ The Felix Event Admin can be configured 
 
 ----
 **Thread Pool Size**
-*Property*: org.apache.felix.eventadmin.ThreadPoolSize
-*Default*: 20
+
+*Property*: org.apache.felix.eventadmin.ThreadPoolSize  
+*Default*: 20  
 *Type*: Integer
+
 The size of the thread pool used for event delivery. The default value is 20. Increase in
case of a large amount of events. A value of less then 2 triggers the default value. If the
pool is exhausted, event delivery is blocked until a thread becomes available from the pool.
Each event is delivered in a thread from the pool unless the ignore timeouts is configured
for the receiving event handler.
+
 ----
+
 **Async/sync Thread Pool Ratio**
-*Property*: org.apache.felix.eventadmin.AsyncToSyncThreadRatio
-*Since*: Release 1.4.2
-*Default*: 0.5
+
+*Property*: org.apache.felix.eventadmin.AsyncToSyncThreadRatio  
+*Since*: Release 1.4.2  
+*Default*: 0.5  
 *Type*: Double
+
 The ratio of asynchronous to synchronous threads in the internal thread pool. Ratio must
be positive and may be adjusted to represent the distribution of post to send operations.
 Applications with higher number of post operations should have a higher ratio.
+
 ----
+
 **Timeout**
-*Property*: org.apache.felix.eventadmin.Timeout
-*Default*: 5000
+
+*Property*: org.apache.felix.eventadmin.Timeout  
+*Default*: 5000  
 *Type*: Integer
+
 The black-listing timeout in milliseconds. The default value is 5000. Increase or decrease
at own discretion. A value of less then 100 turns timeouts off. Any other value is the time
in milliseconds granted to each event handler before it gets blacklisted.
+
 ----
+
 **Require Topic**
-*Property*: org.apache.felix.eventadmin.RequireTopic
-*Default*: true
+
+*Property*: org.apache.felix.eventadmin.RequireTopic  
+*Default*: true  
 *Type*: Boolean
+
 Are event handlers required to be registered with a topic? This is enabled by default. The
specification says that event handlers must register with a list of topics they are interested
in. Disabling this setting will enable that handlers without a topic are receiving all events
(i.e., they are treated the same as with a topic=*).
+
 ----
+
 **Ignore Timeouts**
-*Property*: org.apache.felix.eventadmin.IgnoreTimeout
-*Default*: empty
+
+*Property*: org.apache.felix.eventadmin.IgnoreTimeout  
+*Default*: empty  
 *Type*: String
+
 Configure event handlers to be called without a timeout. If a timeout is configured by default
all event handlers are called using the timeout. For performance optimization it is possible
to configure event handlers where the timeout handling is not used - this reduces the thread
usage from the thread pools as the timout handling requires an additional thread to call the
event handler. However, the application should work without this configuration property. It
is a pure optimization! The value is a list of strings. If a string ends with a dot, all handlers
in exactly this package are ignored. If the string ends with a star, all handlers in this
package and all subpackages are ignored. If the string neither ends with a dot nor with a
start, this is assumed to define an exact class name.
+
 ----
+
 **Ignore Topics**
-*Property*: org.apache.felix.eventadmin.IgnoreTopic
-*Since*: Release 1.4.0
-*Default*: empty
+
+*Property*: org.apache.felix.eventadmin.IgnoreTopic  
+*Since*: Release 1.4.0  
+*Default*: empty  
 *Type*: String
+
 For performance optimization it is possible to configure topics which are ignored by the
event admin implementation. In this case, a event is not delivered to registered event handlers.
The value is a list of strings (separated by comma). " +If a single value ends with a dot,
all topics in exactly this package are ignored. If a single value ends with a star, all topics
in this package and all sub packages are ignored. If a single value neither ends with a dot
nor with a start, this is assumed to define an exact topic. A single star can be used to disable
delivery completely.
+
 ----
+
 **Log Level**
-*Property*: org.apache.felix.eventadmin.LogLevel
-*Note*: This property can't be set through the OSGi configuration.
-*Default*: 2 (=WARNING)
+
+*Property*: org.apache.felix.eventadmin.LogLevel  
+*Note*: This property can't be set through the OSGi configuration.  
+*Default*: 2 (=WARNING)  
 *Type*: Integer
+
 This sets the log level used for messages outputted by the event admin implementation. Valid
values are 1 (=ERROR), 2 (=WARNING), 3 (=INFO), and 4 (=DEBUG). The default is 2 and an invalid
value sets the level to the default value.
+
 ----



Mime
View raw message