Package nablarch.core.log.app
Class PerformanceLogFormatter.PerformanceLogContext
java.lang.Object
nablarch.core.log.app.PerformanceLogFormatter.PerformanceLogContext
- Enclosing class:
- PerformanceLogFormatter
@Published(tag="architect")
public static class PerformanceLogFormatter.PerformanceLogContext
extends Object
パフォーマンスログのコンテキスト情報を保持するクラス。
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong空きメモリ量(終了時)を取得する。long終了日時を取得する。long使用メモリ量(終了時)を取得する。long実行時間を取得する。long最大メモリ量(開始時)を取得する。getPoint()測定対象を識別するIDを取得する。処理結果を取得する。long空きメモリ量(開始時)を取得する。long開始日時を取得する。long使用メモリ量(開始時)を取得する。voidsetEndFreeMemory(long endFreeMemory) 空きメモリ量(終了時)を設定する。voidsetEndTime(long endTime) 終了日時を設定する。voidsetEndUsedMemory(long endUsedMemory) 使用メモリ量(終了時)を設定する。voidsetMaxMemory(long maxMemory) 最大メモリ量(開始時)を設定する。void測定対象を識別するIDを設定する。void処理結果を設定する。voidsetStartFreeMemory(long startFreeMemory) 空きメモリ量(開始時)を設定する。voidsetStartTime(long startTime) 開始日時を設定する。voidsetStartUsedMemory(long startUsedMemory) 使用メモリ量(開始時)を設定する。
-
Constructor Details
-
PerformanceLogContext
public PerformanceLogContext()
-
-
Method Details
-
getPoint
測定対象を識別するIDを取得する。- Returns:
- 測定対象を識別するID
-
setPoint
測定対象を識別するIDを設定する。- Parameters:
point- 測定対象を識別するID
-
getResult
処理結果を取得する。- Returns:
- 処理結果
-
setResult
処理結果を設定する。- Parameters:
result- 処理結果
-
getStartTime
public long getStartTime()開始日時を取得する。- Returns:
- 開始日時
-
setStartTime
public void setStartTime(long startTime) 開始日時を設定する。- Parameters:
startTime- 開始日時
-
getEndTime
public long getEndTime()終了日時を取得する。- Returns:
- 終了日時
-
setEndTime
public void setEndTime(long endTime) 終了日時を設定する。- Parameters:
endTime- 終了日時
-
getExecutionTime
public long getExecutionTime()実行時間を取得する。- Returns:
- 実行時間
-
getMaxMemory
public long getMaxMemory()最大メモリ量(開始時)を取得する。- Returns:
- 最大メモリ量(開始時)
-
setMaxMemory
public void setMaxMemory(long maxMemory) 最大メモリ量(開始時)を設定する。- Parameters:
maxMemory- 最大メモリ量(開始時)
-
getStartFreeMemory
public long getStartFreeMemory()空きメモリ量(開始時)を取得する。- Returns:
- 空きメモリ量(開始時)
-
setStartFreeMemory
public void setStartFreeMemory(long startFreeMemory) 空きメモリ量(開始時)を設定する。- Parameters:
startFreeMemory- 空きメモリ量(開始時)
-
getEndFreeMemory
public long getEndFreeMemory()空きメモリ量(終了時)を取得する。- Returns:
- 空きメモリ量(終了時)
-
setEndFreeMemory
public void setEndFreeMemory(long endFreeMemory) 空きメモリ量(終了時)を設定する。- Parameters:
endFreeMemory- 空きメモリ量(終了時)
-
getStartUsedMemory
public long getStartUsedMemory()使用メモリ量(開始時)を取得する。- Returns:
- 使用メモリ量(開始時)
-
setStartUsedMemory
public void setStartUsedMemory(long startUsedMemory) 使用メモリ量(開始時)を設定する。- Parameters:
startUsedMemory- 使用メモリ量(開始時)
-
getEndUsedMemory
public long getEndUsedMemory()使用メモリ量(終了時)を取得する。- Returns:
- 使用メモリ量(終了時)
-
setEndUsedMemory
public void setEndUsedMemory(long endUsedMemory) 使用メモリ量(終了時)を設定する。- Parameters:
endUsedMemory- 使用メモリ量(終了時)
-