class SessionApi extends AnyRef
Provides access to methods for interacting with a wizard session.
- Alphabetic
- By Inheritance
- SessionApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SessionApi(state: LiveSessionState)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def await(secondsBetweenCheck: Int)(test: => Boolean): Unit
Wait for a specific criteria to be satisfied.
Wait for a specific criteria to be satisfied. An example is when waiting for a job to reach its completed state.
- secondsBetweenCheck
How many seconds to pass between checking the criteria.
- test
A function implementing the check.
- def awaitBatchJob(job: BatchJobInfo, secondsBetweenCheck: Int, scheduler: SchedulerFacade, expectedEndStates: Set[String] = Set(JobStates.succeeded)): Unit
Wait for a specific batch job to complete.
Wait for a specific batch job to complete.
- job
The job to wait for.
- secondsBetweenCheck
How many seconds to pass between checking the criteria.
- scheduler
A scheduler facade to use for API calls.
- expectedEndStates
The set of accepted end states for the job (default is
Jobstates.succeeded
).
- def awaitSparkJob(job: JobInfo, secondsBetweenCheck: Int, scheduler: SchedulerFacade, expectedEndStates: Set[String] = Set(JobStates.succeeded)): Unit
Wait for a specific spark job to complete.
Wait for a specific spark job to complete.
- job
The job to wait for.
- secondsBetweenCheck
How many seconds to pass between checking the criteria.
- scheduler
A scheduler facade to use for API calls.
- expectedEndStates
The set of accepted end states for the job (default is
Jobstates.succeeded
).
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def id: UUID
The unique id of the session.
- def isCancelled: Boolean
Whether the session has been cancelled.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def progress(message: String, progress: Int): Unit
Display a progress message to the user, and update the progress value, during asynchronous actions.
Display a progress message to the user, and update the progress value, during asynchronous actions.
- message
The message to display.
- progress
The new progress value in percent (0-100).
- def progress(message: String): Unit
Display a progress message to the user during asynchronous actions.
Display a progress message to the user during asynchronous actions.
- message
The message to display.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def token: UUID
The session token of the user controlling the session.
- def user: String
The unique id of the user controlling the session.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)