Пример #1
0
 // We don't persist these; this is just used in memory when determining what force installations to process.
 // Because of this, when the Presto Task Runner removes from ServerForceInstallations (completely separate
 // in the database from the ApplicationServer class), we won't get concurrency issues.
 // Note: This is internal so the automated tests can access it.
 internal static void HydrateForceInstallationsToDo(ApplicationServer appServer)
 {
     appServer.ForceInstallationsToDo = new List <ServerForceInstallation>(ApplicationServerLogic.GetForceInstallationsByServerId(appServer.Id));
 }