Class DefaultDatabaseLatencyMeter

  • All Implemented Interfaces:
    DatabaseLatencyMeter

    public class DefaultDatabaseLatencyMeter
    extends Object
    implements DatabaseLatencyMeter
    Measures database latency by measuring time of a simple sql query. Measuring latency value will make a new database connection, frequent measures may impact performance. If you don't need most recent latency value, see DefaultDatabaseConnectionStateService which caches latency values for a short time.
    Since:
    8.1.0