@Published(tag="architect") public class PerformanceJsonLogFormatter extends PerformanceLogFormatter
PerformanceLogFormatterでは、フォーマットとして出力内容を設定するが、
本クラスでは、 notificationTargets および、analysisTargets プロパティにて、
出力項目を指定する。指定可能な出力項目は下記の通り。
| Modifier and Type | Class and Description |
|---|---|
static class |
PerformanceJsonLogFormatter.EndFreeMemoryBuilder
終了時の空きメモリ量を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.EndTimeBuilder
終了日時を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.EndUsedMemoryBuilder
終了時の使用メモリ量を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.ExecutionTimeBuilder
実行時間を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.MaxMemoryBuilder
最大メモリ量を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.PointBuilder
ポイントを処理するクラス。
|
static class |
PerformanceJsonLogFormatter.ResultBuilder
処理結果を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.StartFreeMemoryBuilder
開始時の空きメモリ量を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.StartTimeBuilder
開始日時を処理するクラス。
|
static class |
PerformanceJsonLogFormatter.StartUsedMemoryBuilder
開始時の使用メモリ量を処理するクラス。
|
PerformanceLogFormatter.EndFreeMemoryItem, PerformanceLogFormatter.EndTimeItem, PerformanceLogFormatter.EndUsedMemoryItem, PerformanceLogFormatter.ExecutionTimeItem, PerformanceLogFormatter.MaxMemoryItem, PerformanceLogFormatter.PerformanceLogContext, PerformanceLogFormatter.PointItem, PerformanceLogFormatter.ResultItem, PerformanceLogFormatter.StartFreeMemoryItem, PerformanceLogFormatter.StartTimeItem, PerformanceLogFormatter.StartUsedMemoryItemPROPS_PREFIX| Constructor and Description |
|---|
PerformanceJsonLogFormatter() |
| Modifier and Type | Method and Description |
|---|---|
protected JsonSerializationManager |
createSerializationManager(JsonSerializationSettings settings)
変換処理に使用する
JsonSerializationManagerを生成する。 |
protected java.lang.String |
formatMessage(PerformanceLogFormatter.PerformanceLogContext context)
パフォーマンスログのメッセージをフォーマットする。
|
protected java.util.List<JsonLogObjectBuilder<PerformanceLogFormatter.PerformanceLogContext>> |
getStructuredTargets(java.util.Map<java.lang.String,java.lang.String> props)
ログ出力項目を取得する。
|
protected void |
initialize()
初期化
|
protected void |
initializeFormatterSupport(java.util.Map<java.lang.String,java.lang.String> props,
java.lang.String prefix,
java.lang.String filePath)
各種ログのJSONフォーマット支援オブジェクトの初期化
|
protected void |
initializeTargets(java.util.Map<java.lang.String,java.lang.String> props)
出力項目の初期化
|
end, getLogItems, initializeFormat, initializeTargetPoints, isTargetPoint, setContainsMemoryItem, startprotected void initialize()
initialize in class PerformanceLogFormatterprotected final void initializeFormatterSupport(java.util.Map<java.lang.String,java.lang.String> props,
java.lang.String prefix,
java.lang.String filePath)
props - 各種ログ出力の設定情報protected JsonSerializationManager createSerializationManager(JsonSerializationSettings settings)
JsonSerializationManagerを生成する。settings - 各種ログ出力の設定情報JsonSerializationManagerprotected final void initializeTargets(java.util.Map<java.lang.String,java.lang.String> props)
props - 各種ログ出力の設定情報protected java.util.List<JsonLogObjectBuilder<PerformanceLogFormatter.PerformanceLogContext>> getStructuredTargets(java.util.Map<java.lang.String,java.lang.String> props)
props - 各種ログ出力の設定情報protected java.lang.String formatMessage(PerformanceLogFormatter.PerformanceLogContext context)
formatMessage in class PerformanceLogFormattercontext - パフォーマンスログのコンテキスト情報