- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: Query if some actor is linked to actor
Mon, 2011-08-01, 07:55
Viktor,
I have linked actors and I want to be sure I can stop actor when there is no-one linked to it. Actor is a proxy to network-remote actor (via proprietary remote protocol) and I want to release actor (proxy) when none is essentially using it for some time (is weakly reachable) and there is none linked to it.
P.
On Jul 31, 2011, at 11:10 AM, √iktor Ҡlang wrote:
> What problem are you trying to solve?
>
> Cheers,
> V
>
> On Jul 31, 2011 10:19 AM, "Pavel Chlupáček" wrote:
> > Hi,
> >
> > is there any way how to query, if actor is linked by some other actors. I found links is private[actor] so I would assume via reflection I can hack it, but just by any case is there a way to do it some supported way? I just need to know if there is some linking actor not particularly interested who or how many.
> >
> > Thanks for help
> >
> > Pavel.
> >