package evaluator
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- evaluator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final case class CompiledExpression(classDir: Path, className: String) extends PreparedExpression with Product with Serializable
- class JdiArray extends JdiObject
- final case class JdiFrame(thread: ThreadReference, depth: Int) extends Product with Serializable
- final case class LocalValue(name: String) extends PreparedExpression with Product with Serializable
- final case class PlainLogMessage(message: String) extends PreparedExpression with Product with Serializable
- sealed trait PreparedExpression extends AnyRef
-
class
Safe[+A] extends AnyRef
Objects created on the remote JVM can be garbage-collected at any time.
Objects created on the remote JVM can be garbage-collected at any time. https://stackoverflow.com/questions/25793688/life-span-of-jdi-mirrors-of-objects-living-in-a-remote-jvm
This can be prevented by wrapping every object reference into a Safe instance. It calls
disableCollection
at construction andenableCollection
when the final result is retrieved.You can get the result out of a Safe instance by calling
getResult
. Then the object references are not protected anymore and can be normally garbage collected. - implicit class SafeOption[A] extends AnyRef
- implicit class SafeSeq[A] extends AnyRef
- class SimpleEvaluator extends AnyRef
- implicit class TryToSafe[A] extends AnyRef