Package

akka.cluster

fastfailover

Permalink

package fastfailover

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractFastFailoverSupport extends AbstractActor with FastFailoverSupport

    Permalink

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

    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.

  2. class FailureStrategyBuilder extends AnyRef

    Permalink
  3. final class FastFailover extends Extension

    Permalink
  4. class FastFailoverHelper extends AnyRef

    Permalink

    Helper for actors that execute fast failover operation attempts.

    Helper for actors that execute fast failover operation attempts.

    This class can either be instantiated as is, or extended to override the FastFailoverHelper#fastFailoverSettings or FastFailoverHelper#shouldHoldUntilNoOperation methods.

    The FastFailoverHelper#handleFastFailover (Scala Actor), FastFailoverHelper#handleFastFailoverReceive (Java AbstractActor) methods can be used to handle fast failover envelopes and heartbeats.

  5. final class FastFailoverSerializer extends SerializerWithStringManifest with BaseSerializer

    Permalink

    INTERNAL API

    INTERNAL API

    Annotations
    @InternalApi()
  6. final class FastFailoverSettings extends AnyRef

    Permalink

    Fast failover configuration.

  7. trait FastFailoverSupport extends Actor

    Permalink

    Support for implementing fast failover.

    Support for implementing fast failover.

    Simply mix this trait into your actor for transparent handling of fast failover envelopes and heartbeats.

    Note that this uses Akka's aroundReceive and aroundPreRestart methods, which may conflict with other actor mix-ins like PersistentActor. In such cases it may be better to use FastFailoverHelper directly.

Ungrouped