TimeWindowUnit

wvlet.airframe.metrics.TimeWindowUnit
See theTimeWindowUnit companion object
sealed abstract class TimeWindowUnit(val symbol: String, val secondsInUnit: Int)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Day.type
object Hour.type
object Minute.type
object Month.type
object Quarter.type
object Second.type
object Week.type
object Year.type
Show all

Members list

Value members

Abstract methods

def increment(a: ZonedDateTime, v: Long): ZonedDateTime
def truncate(t: ZonedDateTime): ZonedDateTime

Truncate the given time to this unit

Truncate the given time to this unit

Attributes

Concrete fields

val secondsInUnit: Int
val symbol: String