FakeLeaseManager

open class FakeLeaseManager : LeaseManager

A FakeLeaseManager provides explicit control over leases for the purposes of testing. By default, a fake lease is considered held, but it can be explicitly marked as not held if desired

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun releaseAll()
Link copied to clipboard
open override fun requestLease(name: String): Lease