Interface BucketData<T extends BucketData<T>>
- Type Parameters:
T- Concrete BucketData type
- All Superinterfaces:
Immutable
- All Known Implementing Classes:
AbstractRoutingTable,ActionRoutingTable,RoutingTable
Marker interface for data which is able to be held in a
Bucket.- Author:
- Robert Varga
-
Method Summary
Modifier and TypeMethodDescriptionOptional<org.apache.pekko.actor.ActorRef> Return theActorRefwhich should be tracked as the authoritative source of this bucket's data.
-
Method Details
-
getWatchActor
Optional<org.apache.pekko.actor.ActorRef> getWatchActor()Return theActorRefwhich 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.
-