public class FlightRecorderApplicationStartup extends ObjectSE implements ApplicationStartup
ApplicationStartup
実装。 このバリアントは、StartupStep
をフライトレコーダーイベントとして記録します。このようなイベントは基本型のみをサポートするため、StartupStep.Tags
は単一の文字列属性として直列化されます。
これがアプリケーションコンテキストで構成されたら、記録を有効にしてアプリケーションを起動することでデータを記録できます: java -XX:StartFlightRecording:filename=recording.jfr,duration=10s -jar app.jar
。
DEFAULT
コンストラクターと説明 |
---|
FlightRecorderApplicationStartup() |
修飾子と型 | メソッドと説明 |
---|---|
StartupStep | start(StringSE name) 新しいステップを作成し、その始まりをマークします。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public StartupStep start(StringSE name)
ApplicationStartup
ステップ名は、現在のアクションまたはフェーズを説明します。この技術名は "." である必要があります。名前空間が設定されており、アプリケーションの起動時に同じステップの他のインスタンスを記述するために再利用できます。
ApplicationStartup
の start
name
- ステップ名