コード例 #1
0
ファイル: Program.cs プロジェクト: osjimenez/orleans
        private static int StartSilo(string[] args)
        {
            // define the cluster configuration
            var config = ClusterConfiguration.LocalhostPrimarySilo();
            config.AddMemoryStorageProvider();

            hostWrapper = new OrleansHostWrapper(config, args);
            return hostWrapper.Run();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: justmine66/OrleansSamples
        private static int StartSilo(string[] args)
        {
            // 用于测试目的的本机集群配置信息
            var config = ClusterConfiguration.LocalhostPrimarySilo();

            config.AddMemoryStorageProvider();

            hostWrapper = new OrleansHostWrapper(config, args);
            return(hostWrapper.Run());
        }
コード例 #3
0
        private static int StartSilo(string[] args)
        {
            // define the cluster configuration
            var config = ClusterConfiguration.LocalhostPrimarySilo();

            config.AddMemoryStorageProvider();
            // config.Defaults.DefaultTraceLevel = Orleans.Runtime.Severity.Verbose3;

            hostWrapper = new OrleansHostWrapper(config, args);
            return(hostWrapper.Run());
        }