private bool disposedValue = false; // To detect redundant calls protected virtual void Dispose(bool disposing) { if (!disposedValue) { if (disposing) { logger.Trace("Disposing Ignite Client..."); m_ignite.Dispose(); logger.Trace("...Ignite Client disposed."); } disposedValue = true; } }
public void GlobalCleanup() { _client.DestroyCache(_cacheA.Name); _client.DestroyCache(_cacheB.Name); _client.DestroyCache(_cacheC.Name); _client.DestroyCache(_cacheD.Name); _client.DestroyCache(_cacheE.Name); _client.DestroyCache(_cacheF.Name); _client.DestroyCache(_cacheG.Name); _client.DestroyCache(_cacheH.Name); _client.DestroyCache(_cacheI.Name); _client.DestroyCache(_cacheJ.Name); _client.Dispose(); }
public void Dispose() { _ignite.Dispose(); }
public static void Dispose() { _ignite?.Dispose(); }
public void Dispose() { _queryHandle?.Dispose(); _ignite?.Dispose(); }
public void GlobalCleanup() { Client.DestroyCache(Cache.Name); Client.Dispose(); }