object NilJvm extends Jvm
- Alphabetic
- By Inheritance
- NilJvm
- Jvm
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
applicationTime: Long
Gets the applicationTime (total time running application code since the process started) in nanoseconds or 0, if the metric is unavailable.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val edenPool: Pool
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
executor: ScheduledExecutorService
- Definition Classes
- Jvm
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def forceGc(): Unit
-
def
foreachGc(f: (Gc) ⇒ Unit): Unit
Invoke
ffor every Gc event in the system.Invoke
ffor every Gc event in the system. This samplessnapin order to synthesize a unique stream of Gc events. It's important thatfis not constructed so that it's likely to, by itself, trigger another Gc event, causing an infinite loop. The same is true of the internal datastructures used by foreachGc, but they are svelte.- Definition Classes
- Jvm
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- Jvm
-
def
mainClassName: String
Get the main class name for the currently running application.
Get the main class name for the currently running application. Note that this works only by heuristic, and may not be accurate.
TODO: take into account the standard callstack around scala invocations better.
- Definition Classes
- Jvm
-
val
metaspaceUsage: Option[MetaspaceUsage]
Gets the current usage of the metaspace, if available.
-
def
monitorGcs(bufferFor: Duration): (Time) ⇒ Seq[Gc]
Monitors Gcs using
foreachGc, and returns a function to query its timeline (up tobufferin the past).Monitors Gcs using
foreachGc, and returns a function to query its timeline (up tobufferin the past). Querying is cheap, linear to the number of Gcs that happened since the queried time. The result is returned in reverse chronological order.- Definition Classes
- Jvm
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
opts: Opts
Current VM-specific options.
-
val
safepoint: Safepoint
Gets the time spent at safepoints (totalTimeMillis), the time getting to safepoints (syncTimeMillis), and safepoints reached (count).
-
val
snap: Snapshot
Snapshot of JVM state.
-
val
snapCounters: Map[String, String]
Get a snapshot of all performance counters.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tenuringThreshold: Long
Gets the current tenuringThreshold (times an object must survive GC in order to be promoted) or 0, if the metric is unavailable.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()