Package org.jeyzer.publish
Class JeyzerPublisherInit
- java.lang.Object
-
- org.jeyzer.publish.JeyzerPublisherInit
-
public class JeyzerPublisherInit extends java.lang.Object
Jeyzer Publisher initialization properties
Jeyzer Publisher can be configured - optionally - only once through the
JeyzerPublisher.init(props)
method. Supported properties are :-
data.disable.collection
: if set to true, data collection is not issued. False by default. Can be re-enabled by calling theresumeDataCollection
method (locally or through JMX). -
events.info.limit
: the maximum number of applicative info events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections. Must be higher than 1000 which is the default. -
events.warning.limit
: the maximum number of applicative warning events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections. Must be higher than 1000 which is the default. -
events.critical.limit
: the maximum number of applicative critical events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections. Must be higher than 1000 which is the default. -
events.info.disable.collection
: if set to true, applicative info events are not issued. False by default. Can be re-enabled by calling theresumeEventCollection
method (locally or through JMX). -
events.warning.disable.collection
: if set to true, applicative warning events are not issued. False by default. Can be re-enabled by calling theresumeEventCollection
method (locally or through JMX). -
events.critical.disable.collection
: if set to true, applicative critical events are not issued. False by default. Can be re-enabled by calling theresumeEventCollection
method (locally or through JMX). -
publisher.disable.action.context.reaper
: if set to true, reaping is performed during context access. Useful for application servers which get re-deployed : it prevents reaper thread leaking. By default the reaper is started. -
publisher.enable.jzr_recorder_collection.event
: if set to true, the publisher will issue publisher info events marking each Jeyzer Recorder collection. Disabled by default.
Important : The standard Java
Properties
collection support only String. Therefore convert any numerical parameter to String first, otherwise it will get ignored silently.- See Also:
JeyzerPublisher
-
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DATA_DISABLE_COLLECTION_PROPERTY
if set to true, data collection is not issued.static java.lang.String
EVENTS_CRITICAL_DISABLE_COLLECTION_PROPERTY
If set to true, applicative critical events are not issued.static java.lang.String
EVENTS_CRITICAL_LIMIT_PROPERTY
The maximum number of applicative critical events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections.static java.lang.String
EVENTS_INFO_DISABLE_COLLECTION_PROPERTY
If set to true, applicative info events are not issued.static java.lang.String
EVENTS_INFO_LIMIT_PROPERTY
The maximum number of applicative info events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections.static java.lang.String
EVENTS_WARNING_DISABLE_COLLECTION_PROPERTY
If set to true, applicative warning events are not issued.static java.lang.String
EVENTS_WARNING_LIMIT_PROPERTY
The maximum number of applicative warning events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections.static java.lang.String
PUBLISHER_DISABLE_REAPER_PROPERTY
if set to true, reaping is performed during context access.static java.lang.String
PUBLISHER_ENABLE_JZR_RECORDER_COLLECTION_EVENT_PROPERTY
If set to true, the publisher will issue publisher info events marking each Jeyzer Recorder collection.
-
-
-
Field Detail
-
DATA_DISABLE_COLLECTION_PROPERTY
public static final java.lang.String DATA_DISABLE_COLLECTION_PROPERTY
if set to true, data collection is not issued. False by default. Can be re-enabled by calling theresumeDataCollection
method (locally or through JMX).- See Also:
- Constant Field Values
-
EVENTS_INFO_LIMIT_PROPERTY
public static final java.lang.String EVENTS_INFO_LIMIT_PROPERTY
The maximum number of applicative info events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections. Must be higher than 1000 which is the default.- See Also:
- Constant Field Values
-
EVENTS_WARNING_LIMIT_PROPERTY
public static final java.lang.String EVENTS_WARNING_LIMIT_PROPERTY
The maximum number of applicative warning events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections. Must be higher than 1000 which is the default.- See Also:
- Constant Field Values
-
EVENTS_CRITICAL_LIMIT_PROPERTY
public static final java.lang.String EVENTS_CRITICAL_LIMIT_PROPERTY
The maximum number of applicative critical events that the Jeyzer Publisher can keep between 2 Jeyzer Recorder collections. Must be higher than 1000 which is the default.- See Also:
- Constant Field Values
-
EVENTS_INFO_DISABLE_COLLECTION_PROPERTY
public static final java.lang.String EVENTS_INFO_DISABLE_COLLECTION_PROPERTY
If set to true, applicative info events are not issued. False by default. Can be re-enabled by calling theresumeEventCollection
method (locally or through JMX).- See Also:
- Constant Field Values
-
EVENTS_WARNING_DISABLE_COLLECTION_PROPERTY
public static final java.lang.String EVENTS_WARNING_DISABLE_COLLECTION_PROPERTY
If set to true, applicative warning events are not issued. False by default. Can be re-enabled by calling theresumeEventCollection
method (locally or through JMX).- See Also:
- Constant Field Values
-
EVENTS_CRITICAL_DISABLE_COLLECTION_PROPERTY
public static final java.lang.String EVENTS_CRITICAL_DISABLE_COLLECTION_PROPERTY
If set to true, applicative critical events are not issued. False by default. Can be re-enabled by calling theresumeEventCollection
method (locally or through JMX).- See Also:
- Constant Field Values
-
PUBLISHER_DISABLE_REAPER_PROPERTY
public static final java.lang.String PUBLISHER_DISABLE_REAPER_PROPERTY
if set to true, reaping is performed during context access. Useful for application servers which get re-deployed : it prevents reaper thread leaking. By default the reaper is started.- See Also:
- Constant Field Values
-
PUBLISHER_ENABLE_JZR_RECORDER_COLLECTION_EVENT_PROPERTY
public static final java.lang.String PUBLISHER_ENABLE_JZR_RECORDER_COLLECTION_EVENT_PROPERTY
If set to true, the publisher will issue publisher info events marking each Jeyzer Recorder collection. Disabled by default.- See Also:
- Constant Field Values
-
-