Packages

final class LeaseProvider extends Extension

Source
LeaseProvider.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LeaseProvider
  2. Extension
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LeaseProvider(system: ExtendedActorSystem)

Value Members

  1. def getLease(leaseName: String, configPath: String, ownerName: String): Lease

    The configuration define at configPath must have a property lease-class that defines the fully qualified class name of the Lease implementation.

    The configuration define at configPath must have a property lease-class that defines the fully qualified class name of the Lease implementation. The class must implement Lease and have constructor with akka.coordination.lease.LeaseSettings parameter and optionally ActorSystem parameter.

    leaseName

    the name of the lease resource

    configPath

    the path of configuration for the lease

    ownerName

    the owner that will acquire the lease, e.g. hostname and port of the ActorSystem