/** * Creates a new transaction monitor with the provided * name and monitoring level. The monitor is marked as * failed by default. Also, the start time of this * transaction is noted, thereby starting the stop watch. * * @param name the name of the monitor * @param monitoringLevel the monitoring level */ public TransactionMonitor(String name, MonitoringLevel monitoringLevel) { super(name, monitoringLevel); startTransactionMonitor(); }
/** * Creates a new transaction monitor with the provided * name. The monitor is marked as failed by default. Also, * the start time of this transaction is noted, thereby * starting the stop watch. * * @param name the name of the monitr */ public TransactionMonitor(String name) { super(name); startTransactionMonitor(); }
/** * Create a new transaction monitor with the provided * name and inherited attributes. The monitor is marked * as failed by default. Also, the start time of this * transaction is noted, thereby starting the stop watch. * * @param name the name of the monitor * @param inheritedAttributes the collection of inherited attributes */ public TransactionMonitor(String name, Map inheritedAttributes) { super(name, inheritedAttributes); startTransactionMonitor(); }
/** * Create a new transaction monitor with the provided * name, monitoring level and inherited attributes. The * monitor is marked as failed by default. Also, the * start time of this transaction is noted, thereby * starting the stop watch. * * @param name the name of the monitor * @param monitoringLevel the monitoring level * @param inheritedAttributes the collection of inherited attributes */ public TransactionMonitor(String name, MonitoringLevel monitoringLevel, Map inheritedAttributes) { super(name, monitoringLevel, inheritedAttributes); startTransactionMonitor(); }