NodeRegistry

tasks.elastic.NodeRegistry
See theNodeRegistry companion object
class NodeRegistry(unmanagedResource: ResourceAvailable, createNode: CreateNode, decideNewNode: DecideNewNode, shutdownNode: ShutdownNode, targetQueue: QueueActor, messenger: Messenger)(implicit config: TasksConfig) extends ActorBehavior[State, Unit]

Attributes

Companion
object
Experimental
true
Graph
Supertypes
class ActorBehavior[State, Unit]
class Object
trait Matchable
class Any

Members list

Inherited
  • Not inherited
  • ActorBehavior
Keywords
  • no keywords
  • override

Type members

Inherited types

type ReceiveIO = (State, Ref[IO, State]) => PartialFunction[Message, (State, IO[Unit])]

Attributes

Inherited from:
ActorBehavior

Value members

Concrete methods

def derive(ref: Ref[IO, State]): Unit
override def release(st: State): IO[Unit]

Attributes

Definition Classes
override def schedulers(ref: Ref[IO, State]): Option[IO[Stream[IO, Unit]]]

Attributes

Definition Classes

Inherited methods

def sendTo(target: Address, msg: MessageData): IO[Unit]

Attributes

Inherited from:
ActorBehavior

Concrete fields

val init: State

Inherited fields

val stopProcessingMessages: IO[Unit]

Attributes

Inherited from:
ActorBehavior
val stopQueue: IO[Queue[IO, Option[Unit]]]

Attributes

Inherited from:
ActorBehavior