Properties

Link copied to clipboard
open override val componentType: ComponentType
Link copied to clipboard
Link copied to clipboard
open override val lifetimeType: LifetimeType
Link copied to clipboard
open override var resetTimeoutOnUse: Boolean

When true, resets the timeout duration everytime this component is used.

Link copied to clipboard
open override val timeout: ComponentTimeout?
Link copied to clipboard
open override val timeoutDuration: Duration?

Functions

Link copied to clipboard
Link copied to clipboard
@CheckReturnValue
open override fun noTimeout(): EphemeralComponentGroupBuilder

Removes the timeout from this component.

Link copied to clipboard
open override fun resetTimeoutOnUse(resetTimeoutOnUse: Boolean): EphemeralComponentGroupBuilder

When true, resets the timeout duration everytime this component is used.

Link copied to clipboard
@CheckReturnValue
open override fun timeout(timeout: Duration, handler: Runnable): EphemeralComponentGroupBuilder
open override fun timeout(timeout: Duration, handler: suspend () -> Unit): EphemeralComponentGroupBuilder
@CheckReturnValue
open override fun timeout(timeout: Long, timeoutUnit: TimeUnit, handler: Runnable): EphemeralComponentGroupBuilder

Sets the timeout on this component, invalidating the component on expiration, and running the given timeout handler.

@CheckReturnValue
open override fun timeout(timeout: Duration): EphemeralComponentGroupBuilder
open override fun timeout(timeout: Duration): EphemeralComponentGroupBuilder
@CheckReturnValue
open override fun timeout(timeout: Long, timeoutUnit: TimeUnit): EphemeralComponentGroupBuilder

Sets the timeout on this component, invalidating the component on expiration.