Class SupervisorLockMessage.Lock

java.lang.Object
csw.command.client.messages.SupervisorLockMessage.Lock
All Implemented Interfaces:
CommandSerializationMarker.RemoteMsg, ComponentMessage, SupervisorLockMessage, SupervisorMessage, SupervisorRunningMessage, CommandSerializable, Serializable, scala.Equals, scala.Product
Enclosing interface:
SupervisorLockMessage

public static class SupervisorLockMessage.Lock extends Object implements SupervisorLockMessage, scala.Product, Serializable
Represents message to lock a component

param: source represents the prefix of component that is acquiring lock param: replyTo represents the actor that will receive the command response param: leaseDuration represents the lease duration of lock acquired

See Also:
  • Constructor Details

    • Lock

      public Lock(Prefix source, akka.actor.typed.ActorRef<LockingResponse> replyTo, scala.concurrent.duration.FiniteDuration leaseDuration)
  • Method Details

    • source

      public Prefix source()
    • replyTo

      public akka.actor.typed.ActorRef<LockingResponse> replyTo()
    • leaseDuration

      public scala.concurrent.duration.FiniteDuration leaseDuration()