JobContext

class JobContext(starter: Class<*>?)

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

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

Functions

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

Properties

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