Class

akka.cluster.fastfailover

AbstractFastFailoverSupport

Related Doc: package fastfailover

Permalink

abstract class AbstractFastFailoverSupport extends AbstractActor with FastFailoverSupport

Java API: Support for implementing fast failover with an abstract actor.

Simply extend this class rather than akka.actor.AbstractActor.

Note that this is incompatible with any other abstract class due to Java's lack of multiple inheritance support. If you need to extend a different class, you should use FastFailoverHelper instead.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractFastFailoverSupport
  2. FastFailoverSupport
  3. AbstractActor
  4. Actor
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractFastFailoverSupport()

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def createReceive(): actor.AbstractActor.Receive

    Permalink
    Definition Classes
    AbstractActor

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to any2stringadd[AbstractFastFailoverSupport] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AbstractFastFailoverSupport, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to ArrowAssoc[AbstractFastFailoverSupport] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

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

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    FastFailoverSupport → Actor
  9. def aroundPreStart(): Unit

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    FastFailoverSupport → Actor
  11. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    Actor
  14. def drainHeldMessages(): Unit

    Permalink

    Drain the held messages buffer.

    Drain the held messages buffer.

    This is invoked when the actor is restarted to ensure any held messages are not lost. If this behaviour is not desired, and instead the messages should be dropped, then this method can be overridden to do nothing.

    Definition Classes
    FastFailoverSupport
  15. def ensuring(cond: (AbstractFastFailoverSupport) ⇒ Boolean, msg: ⇒ Any): AbstractFastFailoverSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to Ensuring[AbstractFastFailoverSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (AbstractFastFailoverSupport) ⇒ Boolean): AbstractFastFailoverSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to Ensuring[AbstractFastFailoverSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): AbstractFastFailoverSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to Ensuring[AbstractFastFailoverSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): AbstractFastFailoverSupport

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to Ensuring[AbstractFastFailoverSupport] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def fastFailoverSettings: FastFailoverSettings

    Permalink

    Fast failover settings.

    Fast failover settings.

    Override if you want to supply your own custom settings.

    Definition Classes
    FastFailoverSupport
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to StringFormat[AbstractFastFailoverSupport] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getContext(): ActorContext

    Permalink
    Definition Classes
    AbstractActor
  26. def getSelf(): ActorRef

    Permalink
    Definition Classes
    AbstractActor
  27. def getSender(): ActorRef

    Permalink
    Definition Classes
    AbstractActor
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    AbstractActor → Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    AbstractActor → Actor
  38. final def receiveBuilder(): ReceiveBuilder

    Permalink
    Definition Classes
    AbstractActor
  39. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  41. def shouldHoldUntilNoOperation(msg: Any): Boolean

    Permalink

    Any message that this returns true for will be held by the fast failover support as long as there is an outstanding fast failover message to process.

    Any message that this returns true for will be held by the fast failover support as long as there is an outstanding fast failover message to process.

    This is useful for implementing graceful shutdown, to block the processing of shutdown messages until all fast failover operations have completed. Note that if more operations continue to arrive, such that this actor never ends up with no active operations, then the messages could end up being held indefinitely.

    Messages that get held must be tolerant to reordering, since other messages may arrive during the time that the messages are being held, which will overtake the held messages.

    Definition Classes
    FastFailoverSupport
  42. def supervisorStrategy: SupervisorStrategy

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

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

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

    Permalink
    Definition Classes
    Actor
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def [B](y: B): (AbstractFastFailoverSupport, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractFastFailoverSupport to ArrowAssoc[AbstractFastFailoverSupport] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    AbstractActor → Actor
    Annotations
    @deprecated @throws( classOf[java.lang.Exception] )
    Deprecated

    (Since version 2.5.0) Override preRestart with message parameter with Optional type instead

Inherited from FastFailoverSupport

Inherited from AbstractActor

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AbstractFastFailoverSupport to any2stringadd[AbstractFastFailoverSupport]

Inherited by implicit conversion StringFormat from AbstractFastFailoverSupport to StringFormat[AbstractFastFailoverSupport]

Inherited by implicit conversion Ensuring from AbstractFastFailoverSupport to Ensuring[AbstractFastFailoverSupport]

Inherited by implicit conversion ArrowAssoc from AbstractFastFailoverSupport to ArrowAssoc[AbstractFastFailoverSupport]

Ungrouped