Ejemplo n.º 1
0
 internal Status Free()
 {
     Free(0);
     Free(1);
     epoch.Dispose();
     overflowBucketsAllocator.Dispose();
     return(Status.OK);
 }
Ejemplo n.º 2
0
 internal void TrueDispose()
 {
     commitTcs.TrySetException(new ObjectDisposedException("Log has been disposed"));
     allocator.Dispose();
     epoch.Dispose();
     if (disposeLogCommitManager)
     {
         logCommitManager.Dispose();
     }
 }
 /// <summary>
 /// Dispose
 /// </summary>
 public void Dispose()
 {
     allocator.Dispose();
     epoch.Dispose();
     commitTcs.TrySetException(new ObjectDisposedException("Log has been disposed"));
 }