Example #1
0
 /// <summary>
 /// Return a string identifier that uniquely differentiates
 ///             this Directory instance from other Directory instances.
 ///             This ID should be the same if two Directory instances
 ///             (even in different JVMs and/or on different machines)
 ///             are considered "the same index".  This is how locking
 ///             "scopes" to the right index.
 ///
 /// </summary>
 public override string GetLockID()
 {
     return(string.Concat(_realDirectory.GetLockID(), _tempStorageDir.GetLockID()));
 }