

custom-expensive-scenario-notifier-plainjava
source link: https://github.com/jazz-community/custom-expensive-scenario-notifier-plainjava
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

custom-expensive-scenario-notifier-plainjava
Version 1.2
CLM, since 6.0.5 has capabilities for logging/registering expensive scenarios. These are scenarios such as compare workspace or plan loading or other scenarios that can be resource intensive and may have impact on performance. CLM provides MBeans and the repository debug capability to access statistics about expensive scenarios. This data can be collected on a regular basis and logged to better understand how the system behaves. The scenario information is available using the monitoring capabilities. See CLM Monitoring section 6. Resource-Intensive Scenarios Summary bean. Another, simpler approach, is to access the ICounterContentService using the URL https://<server>:<port>/<app>/service/com.ibm.team.repository.service.internal.counters.ICounterContentService
and then look into the information in the sections scenarios and scenariosSummary.
The capability also allows to register custom resource-intensive scenarios. It is possibe to register the start and end time of a custom resource-intensive scenario. See Register Custom Scripts as a Resource-intensive Scenario for more details on the background of resource-intensive scenarios. See also Registering Custom Resource Intensive Scenarios to CLM Applications for more background information.
The available API allows to register custom scenarios by name using a start and a stop command.
IMPORTANT: This code should not be used as a command line option. Use this code only in the context of RTC Plain Java Client Libraries or RTC SDK based automation or extensions e.g.
- Automation based on RTC Plain Java Client Libraries, such as the Work Item Command Line
- Extensions to the RTC JBE and Buildsystem Toolkit or the RTC SCM command line
- RTC Eclipse client extensions, RTC Server extensions
This repository contains code to do this using the Rational Team Concert Plain Java Client Libraries.
For debugging this example code, use the following syntax:
Parameter Syntax:
[publicURI] [userId] [password] start [scenarionName] [publicURI] [userId] [password] stop [scenarionName]
Example start Custom Scenario MyCustomExpensiveScenario:
https://clm.example.com:9443/ccm/ ADMIN ****** start MyCustomExpensiveScenario
Example start Custom Scenario MyCustomExpensiveScenario:
https://clm.example.com:9443/ccm/ ADMIN ****** stop MyCustomExpensiveScenario
There are two implementations of the service interface.
- One implementation returns the scenario information created when starting a custom scenario instance as a string. This string can be used to stop the scenario counter in the stop command.
- The second implementation persists the information in a file. This interface is used in the main command.
Recommend
-
87
Alert is a Growl-workalike for Emacs which uses a common notification interface and multiple, selectable "styles", whose use is fully customizable by the user. For desktop notifications, the
-
110
-
84
Get instant notifications whenever a new question is posted on Stack Overflow. so-notify - A Stack Overflow Question Notifier. lets you subscribe to your favorite tags on Stack Overflow and sends a system notification whenever a new question is...
-
110
Building a FoodKick SMS Sale Notifier Botwith PhantomJS + Node.js + Selenium + Heroku + Twilio SMS
-
89
org-wild-notifier.el - Alert notifications for org-agenda
-
41
Health Monitor Laravel Server & App Health Monitor and Notifier This package checks if the application resources are running as they should and creates a service status panel. It has the followin...
-
51
Microsoft Teams Git Push Notifier This small Git hook notifies a Microsoft Teams channel as soon as a push is done to a certain remote branch. It can be used to cover the common scenario where a particular rem...
-
41
Wirone commented on O...
-
11
custom-expensive-scenario-notifier-oslc4j Version 1.2 CLM, since 6.0.5 has capabilities for logging/registering expensive scenarios. These are scenarios such as compare workspace or plan loading or other scenarios that can be...
-
11
Sep 1, 2017 A Last Minute Mmu Notifier Change https://lwn.net/Articles/732952/ 在4.13即将released的最后时刻,新引入了一个内存管理的重要修改,用于修复MMU notifier带来的regression. 内存管理子系统之前做了大量的工作用于正确...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK