Package org.drip.service.env
Class InvocationRecord
java.lang.Object
org.drip.service.env.InvocationRecord
public class InvocationRecord
extends java.lang.Object
InvocationRecord implements the Invocation Start/Finish Times of a given Invocation. It provides
the following Functions:
- InvocationRecord Constructor
- Record the Setup of the Invocation Record
- Retrieve the Setup Time
- Record the Finish of the Invocation Record
- Retrieve the Elapsed Time
- Retrieve the Begin Snapshot
- Retrieve the Setup Snapshot
- Retrieve the Finish Snapshot
Module | Computational Core Module |
Library | Computation Support |
Project | Environment, Product/Definition Containers, and Scenario/State Manipulation APIs |
Package | Library Module Loader Environment Manager |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description InvocationRecord()
InvocationRecord Constructor -
Method Summary
Modifier and Type Method Description java.lang.String
elapsed(boolean generateHMS)
Retrieve the Elapsed Timejava.util.Date
finishSnap()
Retrieve the Finish Snapshotboolean
recordFinish()
Record the Finish of the Invocation Recordboolean
recordSetup()
Record the Setup of the Invocation Recordjava.lang.String
setup(boolean generateHMS)
Retrieve the Setup Timejava.util.Date
setupSnap()
Retrieve the Setup Snapshotjava.util.Date
startSnap()
Retrieve the Begin SnapshotMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
InvocationRecord
public InvocationRecord()InvocationRecord Constructor
-
-
Method Details
-
recordSetup
public boolean recordSetup()Record the Setup of the Invocation Record- Returns:
- TRUE - The Invocation Record Setup successfully recorded
-
setup
public java.lang.String setup(boolean generateHMS)Retrieve the Setup Time- Parameters:
generateHMS
- Generate the Result in Hours-Minutes-Seconds Format- Returns:
- The Setup Time
-
recordFinish
public boolean recordFinish()Record the Finish of the Invocation Record- Returns:
- TRUE - The Invocation Record Finish successfully recorded
-
elapsed
public java.lang.String elapsed(boolean generateHMS)Retrieve the Elapsed Time- Parameters:
generateHMS
- Generate the Result in Hours-Minutes-Seconds Format- Returns:
- The Elapsed Time
-
startSnap
public java.util.Date startSnap()Retrieve the Begin Snapshot- Returns:
- The Begin Snapshot
-
setupSnap
public java.util.Date setupSnap()Retrieve the Setup Snapshot- Returns:
- The Setup Snapshot
-
finishSnap
public java.util.Date finishSnap()Retrieve the Finish Snapshot- Returns:
- The Finish Snapshot
-