Exemplo n.º 1
0
 /// <summary>
 /// Sets namespace and storagespace take by the directory rooted
 /// at this INode.
 /// </summary>
 /// <remarks>
 /// Sets namespace and storagespace take by the directory rooted
 /// at this INode. This should be used carefully. It does not check
 /// for quota violations.
 /// </remarks>
 /// <param name="namespace">size of the directory to be set</param>
 /// <param name="storagespace">storage space take by all the nodes under this directory
 ///     </param>
 /// <param name="typespaces">counters of storage type usage</param>
 internal void SetSpaceConsumed(long @namespace, long storagespace, EnumCounters <StorageType
                                                                                  > typespaces)
 {
     usage.SetNameSpace(@namespace);
     usage.SetStorageSpace(storagespace);
     usage.SetTypeSpaces(typespaces);
 }