-
public interface HeapAnalysisJobA HeapAnalysisJob represents a single prepared request to analyze the heap. It cannot be executed twice.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHeapAnalysisJob.Result
-
Method Summary
Modifier and Type Method Description abstract HeapAnalysisJob.Resultexecute()Starts the analysis job immediately, and blocks until a result is available. abstract Unitcancel(String cancelReason)Cancels the job, if possible. abstract JobContextgetContext()In memory store, mutable and thread safe. abstract BooleangetExecuted()true if execute has been called. abstract BooleangetCanceled()true of cancel has been called or if an HeapAnalysisInterceptor has returned Result.Canceled from HeapAnalysisInterceptor.intercept. -
-
Method Detail
-
execute
abstract HeapAnalysisJob.Result execute()
Starts the analysis job immediately, and blocks until a result is available.
-
cancel
abstract Unit cancel(String cancelReason)
Cancels the job, if possible. Jobs that are already complete cannot be canceled.
-
getContext
abstract JobContext getContext()
In memory store, mutable and thread safe. This allows passing data to interceptors.
-
getExecuted
abstract Boolean getExecuted()
-
getCanceled
abstract Boolean getCanceled()
true of cancel has been called or if an HeapAnalysisInterceptor has returned Result.Canceled from HeapAnalysisInterceptor.intercept.
-
-
-
-