Interface BucketData<T extends BucketData<T>>

Type Parameters:
T - Concrete BucketData type
All Superinterfaces:
Immutable
All Known Implementing Classes:
AbstractRoutingTable, ActionRoutingTable, RoutingTable

public interface BucketData<T extends BucketData<T>> extends Immutable
Marker interface for data which is able to be held in a Bucket.
Author:
Robert Varga
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the ActorRef which should be tracked as the authoritative source of this bucket's data.
  • Method Details

    • getWatchActor

      Optional<ActorRef> getWatchActor()
      Return the ActorRef which should be tracked as the authoritative source of this bucket's data. The bucket will be invalidated should the actor be reported as Terminated.
      Returns:
      Optional ActorRef.