com.sun.mfwk.trans
Interface MfTranReport
- All Superinterfaces:
- java.util.EventListener, MfGenericTransaction, MfTranInterface, javax.management.NotificationListener
- public interface MfTranReport
- extends MfGenericTransaction, MfTranInterface
MfTranReport defines a transaction instance (report mode).
It is created with the newTranReport() method of MfTransactionFactory.
Method Summary |
int |
report(int status,
long respTime,
long servTime,
long stopTime)
Report statistics of the transaction, once it is completed.
|
Methods inherited from interface javax.management.NotificationListener |
handleNotification |
report
public int report(int status,
long respTime,
long servTime,
long stopTime)
- Report statistics of the transaction, once it is completed.
- Parameters:
status
- the status of the transaction (one of the constants in MfConstants)respTime
- response time in millisecondsservTime
- service time in millisecondsstopTime
- stop time in milliseconds since January 1, 1970 (same format returned by java.lang.System.currentTimeMillis()