RemoteFiles
A static class in Alta.IO, Alta.Utilities.
Static registry of every remote-backed save file, so changed files can be backed up together. The backup console command calls BackupAllChanged.
- Listed in Other Alta assemblies
- Nested types
RemoteAltaFile<TFileType>
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private static List<IRemoteAltaFile> allRemoteFiles | Every remote file created. Files add themselves in the constructor; the list holds them so they are never collected. |
private static ConcurrentDictionary<IRemoteAltaFile, byte> currentlyBackingUp | Files with a backup in progress, so the same file is not backed up twice at once. |
private static Logger logger | NLog logger for this class. |
Methods
| Member | What it is |
|---|---|
static void BackupAllChanged(bool isInstant) | Server: backs up every remote file that has changed and is not already backing up, either blocking or async. |