Getting file systems stats
GetNamesAsync
This method returns the names of all existing file systems in the server.
Syntax
Task<string[]> GetNamesAsync();
Return Value | |
---|---|
Task<string[]> | A task that represents the asynchronous restore operation. The task result is the array containing file names |
Example
string[] fsNames = await store.AsyncFilesCommands.Admin
.GetNamesAsync();
GetStatisticsAsync
This method returns statistics of currently loaded file systems.
Syntax
Task<FileSystemStats[]> GetStatisticsAsync();
Return Value | |
---|---|
Task<FileSystemStats[]> | A task that represents the asynchronous restore operation. The task result is the array containing file names |
Example
FileSystemStats[] fsStats = await store.AsyncFilesCommands.Admin
.GetStatisticsAsync();