Class

it.unibo.scafi.distrib.actor.patterns

PeriodicObservableInputProviderActor

Related Doc: package patterns

Permalink

abstract class PeriodicObservableInputProviderActor[K, V] extends Actor with PeriodicBehavior with ObservableActorBehavior

Abstract actor, which is an ObservableActorBehavior with PeriodicBehavior, that is intended to notify its observers with messages with a key-value format.

K

The type of the name.

V

The type of the value.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PeriodicObservableInputProviderActor
  2. ObservableActorBehavior
  3. PeriodicBehavior
  4. LifecycleBehavior
  5. Actor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PeriodicObservableInputProviderActor(name: K)

    Permalink

    name

    The name of the input provider, or the 'key' tag for the notification messages.

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def provideNextValue(): Option[V]

    Permalink

    Template method with the responsibility of producing the next value to be provided, if any.

    Template method with the responsibility of producing the next value to be provided, if any.

    returns

    {Some(v)} for a value 'v' or {None} if there is no value to return

  2. abstract val workInterval: FiniteDuration

    Permalink
    Definition Classes
    PeriodicBehavior

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  12. def currentStateMessage: Any

    Permalink
  13. def doJob(): Unit

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def handleLifecycle(): Unit

    Permalink
    Definition Classes
    PeriodicBehaviorLifecycleBehavior
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. val initialDelay: Option[FiniteDuration]

    Permalink
    Definition Classes
    PeriodicBehavior
  20. def inputManagementBehavior: Receive

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def lifecyclePostStop(): Unit

    Permalink
    Definition Classes
    LifecycleBehavior
  23. def lifecyclePreStart(): Unit

    Permalink
    Definition Classes
    PeriodicBehaviorLifecycleBehavior
  24. val logger: LoggingAdapter

    Permalink
    Attributes
    protected
  25. val name: K

    Permalink

    The name of the input provider, or the 'key' tag for the notification messages.

  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def notifyObservers(msg: Any): Unit

    Permalink
    Definition Classes
    ObservableActorBehavior
  30. def notifyObservers(): Unit

    Permalink
    Definition Classes
    ObservableActorBehavior
  31. def observerAdded(ref: ActorRef): Unit

    Permalink
    Definition Classes
    ObservableActorBehavior
  32. val observers: Set[ActorRef]

    Permalink
    Definition Classes
    ObservableActorBehavior
  33. def observersManagementBehavior: Receive

    Permalink
    Definition Classes
    ObservableActorBehavior
  34. def periodicBehaviorPreStart(): Unit

    Permalink
    Definition Classes
    PeriodicBehavior
  35. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  38. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  39. def receive: Receive

    Permalink
    Definition Classes
    PeriodicObservableInputProviderActor → Actor
  40. def scheduleNextWorkingCycle(): Unit

    Permalink
    Definition Classes
    PeriodicBehavior
  41. def scheduleNextWorkingCycle(delay: FiniteDuration, msg: Any = GoOn): Unit

    Permalink
    Definition Classes
    LifecycleBehavior
  42. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  43. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  44. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  48. var value: Option[V]

    Permalink
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def workingBehavior: Receive

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ObservableActorBehavior

Inherited from PeriodicBehavior

Inherited from LifecycleBehavior

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped