DIR_CACHE_INFO

Returns information for a directory cache.

Service:Server Environment
Defined In:nwfse.h

Structure

  typedef struct { 
     nuint32   minTimeSinceFileDelete ; 
     nuint32   absMinTimeSinceFileDelete ; 
     nuint32   minNumOfDirCacheBuffers ; 
     nuint32   maxNumOfDirCacheBuffers ; 
     nuint32   numOfDirCacheBuffers ; 
     nuint32   dCMinNonReferencedTime ; 
     nuint32   dCWaitTimeBeforeNewBuffer ; 
     nuint32   dCMaxConcurrentWrites ; 
     nuint32   dCDirtyWaitTime ; 
     nuint32   dCDoubleReadFlag ; 
     nuint32   mapHashNodeCount ; 
     nuint32   spaceRestrictionNodeCount ; 
     nuint32   trusteeListNodeCount ; 
     nuint32   percentOfVolumeUsedByDirs ; 
  } DIR_CACHE_INFO; 
  

Delphi Structure

  uses calwin32 
   
    DIR_CACHE_INFO = packed Record 
      minTimeSinceFileDelete : nuint32;  
      absMinTimeSinceFileDelete : nuint32;  
      minNumOfDirCacheBuffers : nuint32;  
      maxNumOfDirCacheBuffers : nuint32;  
      numOfDirCacheBuffers : nuint32;  
      dCMinNonReferencedTime : nuint32;  
      dCWaitTimeBeforeNewBuffer : nuint32;  
      dCMaxConcurrentWrites : nuint32;  
      dCDirtyWaitTime : nuint32;  
      dCDoubleReadFlag : nuint32;  
      mapHashNodeCount : nuint32;  
      spaceRestrictionNodeCount : nuint32;  
      trusteeListNodeCount : nuint32;  
      percentOfVolumeUsedByDirs : nuint32;
    End; 
  

Fields

minTimeSinceFileDelete
Specifies the minimum time (in clock ticks) between when a file is deleted and when it can be purged.
absMinTimeSinceFileDelete
Specifies the minimum time (in clock ticks) between when a file is deleted and when it can be purged after the system has no available blocks.
minNumOfDirCacheBuffers
Specifies the minimum number of directory cache buffers that can be allocated on the server.
maxNumOfDirCacheBuffers
Specifies the maximum number of directory cache buffers that can be allocated on the server.
numOfDirCacheBuffers
Specifies the current number of directory cache buffers on the server.
dCMinNonReferencedTime
Specifies the time (in clock ticks) that must elapse between the last reference of a directory buffer and the time it is reused.
dCWaitTimeBeforeNewBuffer
Specifies the time (in clock ticks) that must elapse before an additional directory cache buffer can be allocated.
dCMaxConcurrentWrites
Specifies the maximum number of write requests from directory cache buffers that can be put in the elevator before they are written to disk.
dCDirtyWaitTime
Specifies the maximum time (in clock ticks) that the server can wait before writing dirty cache buffers to disk.
dCDoubleReadFlag
Specifies whether the directory block must be read and verified from both copies of directory tables.
mapHashNodeCount
Specifies the number of times a hash node has been allocated for directories.
spaceRestrictionNodeCount
Specifies the total number of disk space restrictions placed since the server was brought up.
trusteeListNodeCount
Specifies the total number of trustee assignments set on the file system since the server was brought up.
percentOfVolumeUsedByDirs
Specifies the total volume space percentage that is used by directory entries.

Remarks

The minNumOfDirCacheBuffers, maxNumOfDirCacheBuffers, dCMinNonReferencedTime, dCWaitTimeBeforeNewBuffer, dCMaxConcurrentWrites, dCDirtyWaitTime, and percentOfVolumeUsedByDirs fields can be set by using the SET console command.