BlockingPolicy

data class BlockingPolicy(val blockedBy: EnumSet<BlockingPolicy.Medium>? = MEDIUM_ANY_ONLY, val blocking: EnumSet<BlockingPolicy.Medium>? = null)

Defines an BlockingPolicy.

Prefer to use sharedInstanceFactory to get instance instead of creation.

Parameters

blockedBy

set mediums which blocked

blocking

set mediums which blocking

Constructors

Link copied to clipboard
fun BlockingPolicy(blockedBy: EnumSet<BlockingPolicy.Medium>? = MEDIUM_ANY_ONLY, blocking: EnumSet<BlockingPolicy.Medium>? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
enum Medium : Enum<BlockingPolicy.Medium>
Link copied to clipboard
class SharedInstanceFactory

Properties

Link copied to clipboard
val blockedBy: EnumSet<BlockingPolicy.Medium>?
Link copied to clipboard
val blocking: EnumSet<BlockingPolicy.Medium>? = null