Class AbstractRoutingTable<T extends AbstractRoutingTable<T,​I>,​I>

    • Method Detail

      • getWatchActor

        public final Optional<ActorRef> getWatchActor()
        Description copied from interface: BucketData
        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.
        Specified by:
        getWatchActor in interface BucketData<T extends AbstractRoutingTable<T,​I>>
        Returns:
        Optional ActorRef.
      • contains

        public final boolean contains​(I routeId)
      • size

        public final int size()