final class ZScheduleClient extends AnyRef
Represents Temporal schedule client
- See also
ScheduleClient
- Alphabetic
- By Inheritance
- ZScheduleClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def createSchedule(scheduleId: String, schedule: ZSchedule, options: ZScheduleOptions = ZScheduleOptions.default): TemporalIO[ZScheduleHandle]
Create a schedule and return its handle.
Create a schedule and return its handle.
- scheduleId
Unique ID for the schedule.
- schedule
Schedule to create.
- options
Options for creating the schedule.
- returns
A handle that can be used to perform operations on a schedule.
- Exceptions thrown
ScheduleAlreadyRunningException
if the schedule is already running.
- 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 getHandle(scheduleId: String): TemporalIO[ZScheduleHandle]
Gets the schedule handle for the given ID.
Gets the schedule handle for the given ID.
- scheduleId
Schedule ID to get the handle for.
- returns
A handle that can be used to perform operations on a schedule.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listSchedules(pageSize: Option[Int] = None): Stream[Throwable, ZScheduleListDescription]
List schedules.
List schedules.
- pageSize
how many results to fetch from the Server at a time. Optional, default is 100.
- returns
sequential stream that performs remote pagination under the hood
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newScheduleStartWorkflowStub[A](options: ZWorkflowOptions, header: Header = Header.empty())(implicit arg0: ClassTag[A], arg1: IsWorkflow[A]): ZScheduleStartWorkflowStub.Of[A]
Creates new typed schedule start workflow stub builder.
Creates new typed schedule start workflow stub builder. The instance could then be used to start a scheduled workflow.
- A
workflow interface
- options
options that will be used to configure and start a new workflow.
- header
headers sent with each workflow scheduled
- returns
builder instance
- def newUntypedScheduleStartWorkflowStub(workflowType: String, options: ZWorkflowOptions, header: Header = Header.empty()): Untyped
Creates new untyped schedule start workflow stub builder.
Creates new untyped schedule start workflow stub builder. The instance could then be used to start a scheduled workflow.
- workflowType
workflow type
- options
options that will be used to configure and start a new workflow.
- header
headers sent with each workflow scheduled
- returns
builder instance
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val toJava: ScheduleClient
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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)