Class StatisticsConstants
- java.lang.Object
-
- org.apache.synapse.aspects.flow.statistics.util.StatisticsConstants
-
public class StatisticsConstants extends Object
This class holds constants related to mediation flow statistics collection.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StatisticsConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getComponentTypeToString(ComponentType componentType)
-
-
-
Field Detail
-
STATISTICS_ENABLE
public static final String STATISTICS_ENABLE
Statistics enabled globally.- See Also:
- Constant Field Values
-
EI_ANALYTICS_ENABLE
public static final String EI_ANALYTICS_ENABLE
- See Also:
- Constant Field Values
-
COLLECT_MESSAGE_PAYLOADS
public static final String COLLECT_MESSAGE_PAYLOADS
Enable collecting message payloads.- See Also:
- Constant Field Values
-
COLLECT_MESSAGE_PROPERTIES
public static final String COLLECT_MESSAGE_PROPERTIES
Enable collecting transport and message-context properties.- See Also:
- Constant Field Values
-
COLLECT_ALL_STATISTICS
public static final String COLLECT_ALL_STATISTICS
Enable statistics collecting for all artifacts- See Also:
- Constant Field Values
-
FLOW_STATISTICS_QUEUE_SIZE
public static final String FLOW_STATISTICS_QUEUE_SIZE
Flow statistic queue size.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_EVENT_CONSUME_TIME
public static final String FLOW_STATISTICS_EVENT_CONSUME_TIME
Flow statistic event consuming time.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_EVENT_CLEAN_TIME
public static final String FLOW_STATISTICS_EVENT_CLEAN_TIME
Flow statistic event consuming time.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_ID
public static final String FLOW_STATISTICS_ID
Key to message context statistic entry.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_IS_FAULT_REPORTED
public static final String FLOW_STATISTICS_IS_FAULT_REPORTED
Key to message context statistic entry.- See Also:
- Constant Field Values
-
DEFAULT_PARENT_INDEX
public static final int DEFAULT_PARENT_INDEX
Default parent index in statistic collection.- See Also:
- Constant Field Values
-
MEDIATION_FLOW_STATISTICS_INDEXING_OBJECT
public static final String MEDIATION_FLOW_STATISTICS_INDEXING_OBJECT
Key to specify object that provides indexes for each component.- See Also:
- Constant Field Values
-
MEDIATION_FLOW_STATISTICS_PARENT_LIST
public static final String MEDIATION_FLOW_STATISTICS_PARENT_LIST
Key to specify parent list for a component.- See Also:
- Constant Field Values
-
MEDIATION_FLOW_STATISTICS_PARENT_INDEX
public static final String MEDIATION_FLOW_STATISTICS_PARENT_INDEX
Key to specify the immediate parent of the component.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_IS_COLLECTED
public static final String FLOW_STATISTICS_IS_COLLECTED
Key to specify whether statistics should be reported.- See Also:
- Constant Field Values
-
FLOW_TRACE_IS_COLLECTED
public static final String FLOW_TRACE_IS_COLLECTED
Key to specify whether tracing should be reported.- See Also:
- Constant Field Values
-
FREEMARKER_TEMPLATE_BASE_PATH
public static final String FREEMARKER_TEMPLATE_BASE_PATH
Freemarker template base path.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_DEFAULT_QUEUE_SIZE
public static final String FLOW_STATISTICS_DEFAULT_QUEUE_SIZE
Flow statistic default queue size.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_DEFAULT_EVENT_CONSUME_INTERVAL
public static final String FLOW_STATISTICS_DEFAULT_EVENT_CONSUME_INTERVAL
Flow statistic default event consumer time.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_DEFAULT_EVENT_CLEAN_INTERVAL
public static final String FLOW_STATISTICS_DEFAULT_EVENT_CLEAN_INTERVAL
Flow statistic cleaning Time.- See Also:
- Constant Field Values
-
GRACEFULLY_CLOSE
public static final int GRACEFULLY_CLOSE
Modes of closing statistic entry- See Also:
- Constant Field Values
-
ATTEMPT_TO_CLOSE
public static final int ATTEMPT_TO_CLOSE
- See Also:
- Constant Field Values
-
FORCEFULLY_CLOSE
public static final int FORCEFULLY_CLOSE
- See Also:
- Constant Field Values
-
FLOW_STATISTICS_PROXYSERVICE
public static final String FLOW_STATISTICS_PROXYSERVICE
Name to represent component types.- See Also:
- Constant Field Values
-
FLOW_STATISTICS_ENDPOINT
public static final String FLOW_STATISTICS_ENDPOINT
- See Also:
- Constant Field Values
-
FLOW_STATISTICS_INBOUNDENDPOINT
public static final String FLOW_STATISTICS_INBOUNDENDPOINT
- See Also:
- Constant Field Values
-
FLOW_STATISTICS_SEQUENCE
public static final String FLOW_STATISTICS_SEQUENCE
- See Also:
- Constant Field Values
-
FLOW_STATISTICS_MEDIATOR
public static final String FLOW_STATISTICS_MEDIATOR
- See Also:
- Constant Field Values
-
FLOW_STATISTICS_API
public static final String FLOW_STATISTICS_API
- See Also:
- Constant Field Values
-
FLOW_STATISTICS_RESOURCE
public static final String FLOW_STATISTICS_RESOURCE
- See Also:
- Constant Field Values
-
FLOW_STATISTICS_ANY
public static final String FLOW_STATISTICS_ANY
- See Also:
- Constant Field Values
-
IMAGINARY_COMPONENT_ID
public static final String IMAGINARY_COMPONENT_ID
- See Also:
- Constant Field Values
-
STATISTIC_NOT_FOUND_ERROR
public static final String STATISTIC_NOT_FOUND_ERROR
- See Also:
- Constant Field Values
-
HASH_CODE_NULL_COMPONENT
public static final String HASH_CODE_NULL_COMPONENT
- See Also:
- Constant Field Values
-
STAT_COLLECTOR_PROPERTY
public static final String STAT_COLLECTOR_PROPERTY
- See Also:
- Constant Field Values
-
CONTINUE_STATISTICS_FLOW
public static final String CONTINUE_STATISTICS_FLOW
- See Also:
- Constant Field Values
-
MAX_STATISTIC_REPORTING_QUEUE_SIZE
public static final long MAX_STATISTIC_REPORTING_QUEUE_SIZE
- See Also:
- Constant Field Values
-
STATISTIC_REPORTING_QUEUE_EVICTION_POLICY
public static final String STATISTIC_REPORTING_QUEUE_EVICTION_POLICY
- See Also:
- Constant Field Values
-
STATISTIC_REPORTING_QUEUE_SIZE
public static final String STATISTIC_REPORTING_QUEUE_SIZE
- See Also:
- Constant Field Values
-
QUEUE_EVICTION_POLICY_OLD_MESSAGES
public static final String QUEUE_EVICTION_POLICY_OLD_MESSAGES
- See Also:
- Constant Field Values
-
QUEUE_EVICTION_POLICY_NEW_MESSAGES
public static final String QUEUE_EVICTION_POLICY_NEW_MESSAGES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getComponentTypeToString
public static String getComponentTypeToString(ComponentType componentType)
-
-