object TestGroupState
- Source
- TestGroupState.scala
- Alphabetic
- By Inheritance
- TestGroupState
- 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 create[S](optionalState: Optional[S], timeoutConf: GroupStateTimeout, batchProcessingTimeMs: Long, eventTimeWatermarkMs: Optional[Long], hasTimedOut: Boolean): TestGroupState[S]
Creates TestGroupState instances for general testing purposes.
Creates TestGroupState instances for general testing purposes.
- optionalState
Optional value of the state.
- timeoutConf
Type of timeout configured. Based on this, different operations will be supported.
- batchProcessingTimeMs
Processing time of current batch, used to calculate timestamp for processing time timeouts.
- eventTimeWatermarkMs
Optional value of event time watermark in ms. Set as
Optional.empty
if watermark is not present. Otherwise, event time watermark should be a positive long and the timestampMs set throughsetTimeoutTimestamp()
cannot be less thaneventTimeWatermarkMs
.- hasTimedOut
Whether the key for which this state wrapped is being created is getting timed out or not.
- returns
a TestGroupState instance built with the user specified configs.
- Annotations
- @throws("if 'batchProcessingTimeMs' is less than 0") @throws("if 'eventTimeWatermarkMs' is present but less than 0") @throws("if 'hasTimedOut' is true however there's no timeout configured")
- 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()
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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)