CacheAnalyticsPeriod class

A class that provides analytics for a specific time period.

Constructors

CacheAnalyticsPeriod({required DateTime startTime, required DateTime endTime, required int hitCount, required int missCount, required int putCount, required int deleteCount, required int clearCount})
Creates a new instance of CacheAnalyticsPeriod.

Properties

clearCount → int
The number of cache clears during the period.
final
deleteCount → int
The number of cache deletes during the period.
final
duration → Duration
Gets the duration of the period.
no setter
endTime → DateTime
The end time of the period.
final
hashCode → int
The hash code for this object.
no setterinherited
hitCount → int
The number of cache hits during the period.
final
hitRate → double
Gets the cache hit rate during the period.
no setter
missCount → int
The number of cache misses during the period.
final
operationsPerSecond → double
Gets the operations per second during the period.
no setter
putCount → int
The number of cache puts during the period.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startTime → DateTime
The start time of the period.
final
totalOperations → int
Gets the total number of cache operations during the period.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited