JobContext

class JobContext(val starter: Class<*>? = null)

In memory store that can be used to store objects in a given HeapAnalysisJob instance. This is a simple MutableMap of String to Any, but with unsafe generics access.

By convention, starter should be the class that triggered the start of the job.

Constructors

Link copied to clipboard
fun JobContext(starter: KClass<*>)
Link copied to clipboard
fun JobContext(starter: Class<*>? = null)

Functions

Link copied to clipboard
operator fun contains(key: String): Boolean
Link copied to clipboard
operator fun <T> get(key: String): T?
Link copied to clipboard
fun <T> getOrPut(key: String, defaultValue: () -> T): T
Link copied to clipboard
operator fun minusAssign(key: String)
Link copied to clipboard
operator fun <T> set(key: String, value: T)

Properties

Link copied to clipboard
val starter: Class<*>? = null