Ryan McMahon created GEODE-6475:
-----------------------------------

             Summary: Add mechanism for determining if a system is completely 
disconnected to InternalDistributedSystem
                 Key: GEODE-6475
                 URL: https://issues.apache.org/jira/browse/GEODE-6475
             Project: Geode
          Issue Type: Improvement
          Components: general, membership
            Reporter: Ryan McMahon


Currently the only mechanism to query the InternalDistributedSystem to 
determine if it is connected or not is the isConnected() method.  However, that 
method returns false if a _disconnection is progress_.  There is another 
method, isDisconnecting(), which queries if a disconnection is in progress.  
However, there is no way to determine in a thread-safe way if the system is 
completely disconnected (no disconnection in progress and not currently 
connected).  One way to solve this is to add a isDisconnected() method which 
will only return true if the system is not connected and there is no 
disconnection in progress.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to