leveldb_create_snapshot() private method

private leveldb_create_snapshot ( IntPtr db ) : IntPtr
db System.IntPtr
return System.IntPtr
Exemplo n.º 1
0
 /// <summary>
 /// Return a handle to the current DB state.
 /// Iterators and Gets created with this handle will all observe a stable snapshot of the current DB state.
 /// </summary>
 public SnapShot CreateSnapshot()
 {
     return(new SnapShot(LevelDbInterop.leveldb_create_snapshot(Handle), this));
 }