internal HazelcastClient GetClient() { HazelcastClient c = _client; if (c == null || !c.GetLifecycleService().IsRunning()) { throw new HazelcastInstanceNotActiveException(); } return(c); }
public ILifecycleService GetLifecycleService() { HazelcastClient hz = _client; return(hz != null?hz.GetLifecycleService() : new TerminatedLifecycleService()); }