LeaseEvent

io.github.jchapuis.leases4s.LeaseRepository.LeaseEvent
See theLeaseEvent companion trait
object LeaseEvent

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
LeaseEvent.type

Members list

Type members

Classlikes

final case class Acquired[F[_]](lease: Lease[F], holderID: HolderID) extends LeaseEvent[F]

Lease was acquired by the specified holder

Lease was acquired by the specified holder

Value parameters

holderID

ID of the holder that acquired the lease

lease

a handle on the lease that was acquired

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait LeaseEvent[F]
class Object
trait Matchable
class Any
Show all
final case class Released[F[_]](leaseID: LeaseID) extends LeaseEvent[F]

Lease was released

Lease was released

Value parameters

leaseID

ID of the lease that was released (deleted)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait LeaseEvent[F]
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror