Esempio n. 1
0
        public Guid QueueSnapshotJob(string destinationStoreName, PersistenceType persistenceType, ulong commitPointId = StoreConstants.NullUlong, string jobLabel = null)
        {
            Logging.LogDebug("QueueSnapshotJob {0}, {1}", destinationStoreName, commitPointId);
            var jobId       = Guid.NewGuid();
            var snapshotJob = new SnapshotJob(jobId, jobLabel, this, destinationStoreName, persistenceType, commitPointId);

            QueueJob(snapshotJob, false);
            return(jobId);
        }
Esempio n. 2
0
 public Guid QueueSnapshotJob(string destinationStoreName, PersistenceType persistenceType, ulong commitPointId = StoreConstants.NullUlong)
 {
     Logging.LogDebug("QueueSnapshotJob {0}, {1}", destinationStoreName, commitPointId);
     var jobId = Guid.NewGuid();
     var snapshotJob = new SnapshotJob(jobId, this, destinationStoreName, persistenceType, commitPointId);
     QueueJob(snapshotJob, false);
     return jobId;
 }