⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 replicationslavestorage.cs

📁 Perst开源实时数据库
💻 CS
字号:
namespace Perst
{
    /// <summary>
    /// Storage reciving modified pages from replication master and 
    /// been able to run read-only transactions 
    /// </summary>
    public interface ReplicationSlaveStorage : Storage 
    { 
        /// <summary>
        /// Check if socket is connected to the master host
        /// </summary>
        /// <returns><code>true</code> if connection between slave and master is sucessfully established</returns>
        bool IsConnected();

        /// <summary>
        /// Wait until database is modified by master
        /// This method blocks current thread until master node commits trasanction and
        /// this transanction is completely delivered to this slave node
        /// </summary>
        void WaitForModification();
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -