Interface ModifyConfigBehavior

  • All Superinterfaces:
    akka.actor.Actor

    public interface ModifyConfigBehavior
    extends akka.actor.Actor
    Behavior to modify this actor's config.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface akka.actor.Actor

        akka.actor.Actor.emptyBehavior$, akka.actor.Actor.ignoringBehavior$
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default akka.actor.AbstractActor.Receive modifyConfigBehavior()
      Injectable behavior to handle ModifyConfig.
      com.typesafe.config.Config setConfig​(com.typesafe.config.Config config)
      Update config for this actor.
      • Methods inherited from interface akka.actor.Actor

        akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
    • Method Detail

      • setConfig

        com.typesafe.config.Config setConfig​(com.typesafe.config.Config config)
        Update config for this actor. It is up to implementations whether to include the current config as fallback.
        Parameters:
        config - the new config.
        Returns:
        this actor's config after the modification.
      • modifyConfigBehavior

        default akka.actor.AbstractActor.Receive modifyConfigBehavior()
        Injectable behavior to handle ModifyConfig.
        Returns:
        behavior to handle ModifyConfig.