Returns a VersionedIterator containing all connected ActorRefs at some moment in time.
Returns a VersionedIterator containing all connected ActorRefs at some moment in time. Since there is the time element, also the version is included to be able to read the data (the connections) and the version in an atomic manner.
This Iterable is 'persistent'. So it can be handed out to different threads and they see a stable (immutable) view of some set of connections.
Returns if the number of 'available' is 0 or not.
Returns if the number of 'available' is 0 or not. Value could be stale as soon as received, and this method can't be combined (easily) with an atomic read of and isEmpty and version.
Removes a connection from the connection manager.
Shuts the connection manager down, which stops all managed actors
Returns the number of 'available' connections.
Returns the number of 'available' connections. Value could be stale as soon as received, and this method can't be combined (easily) with an atomic read of and size and version.
A version that is useful to see if there is any change in the connections.
A version that is useful to see if there is any change in the connections. If there is a change, a router is able to update its internal datastructures.
Manages connections (ActorRefs) for a router.