KontainerTracker

class KontainerTracker

Keeps track of instantiated kontainers and services

TODO: also keep track of services... to find leaks, where services are not disposed

Constructors

KontainerTracker
Link copied to clipboard
fun KontainerTracker()

Functions

getAlive
Link copied to clipboard
fun getAlive(): Map<Kontainer, Instant>
fun getAlive(olderThanSec: Int): Map<Kontainer, Instant>
getNumAlive
Link copied to clipboard
fun getNumAlive(): Int
fun getNumAlive(olderThanSec: Int): Int
track
Link copied to clipboard
fun track(kontainer: Kontainer)