FastQuant.DataSeries.Flush C# (CSharp) Méthode

Flush() private méthode

private Flush ( ) : void
Résultat void
        internal void Flush()
        {
            lock (Sync)
            {
                if (this.changed)
                {
                    if (this.insertKey != null && this.insertKey.changed)
                        WriteKey(this.insertKey);

                    if (this.writeKey != null && this.writeKey.changed)
                        WriteKey(this.writeKey);

                    if (this.deleteKey != null && this.deleteKey.changed)
                        WriteKey(this.deleteKey);

                    WriteCache();
                    this.file.WriteKey(this.key);
                    this.changed = false;
                }                
            }
        }
    }