DatabaseMonitor class
Constructors
- DatabaseMonitor.new()
-
factory
Properties
-
alerts
→ Stream<
DatabaseAlert> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearMetrics(
String connectionId) → void -
getPerformanceStats(
) → Map< String, PerformanceStats> -
getSlowQueries(
String connectionId) → List< QueryMetrics> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordQuery(
String connectionId, String sql, Duration executionTime) → void -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateConnectionMetrics(
String connectionId, ConnectionMetrics metrics) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- highConnectionUsageThreshold → const int
- slowQueryThreshold → const Duration