ContinuousQueryCacheOnMemberJoined Method |
Namespace: Tangosol.Net.Cache
public void OnMemberJoined( Object sender, MemberEventArgs evt )
Note: this event could be called during the service restart on the local node in which case the listener's code should not attempt to use any clustered cache or service functionality.
The most critical situation arises when a number of threads are waiting for a local service restart, being blocked by a IService object synchronization monitor. Since the Joined event should be fired only once, it is called on a client thread while holding a synchronization monitor. An attempt to use other clustered service functionality during this local event notification may result in a deadlock.