static TrinityConfig() { TrinityC.Ping(); InternalCalls.__init(); GetConfigurationInstances().ToList(); LoadTrinityConfig(false); }
static TrinityConfig() { TrinityC.Ping(); InternalCalls.__init(); LoadTrinityConfig(false); }
static TrinityConfig() { TrinityC.Ping(); InternalCalls.__init(); LoggingLevel = c_DefaultLogLevel; StorageRoot = DefaultStorageRoot; LoadTrinityConfig(false); }
private static void Initialize_impl(string config_file = null) { lock (s_storage_init_lock) { if (s_master_init_flag) { return; } TrinityC.Init(); if (config_file != null) { TrinityConfig.LoadConfig(config_file); } else { TrinityConfig.EnsureConfig(); } Log.Initialize(); _LoadGraphEngineExtensions(); _ScanForTSLStorageExtension(); _ScanForMemoryCloudExtension(); _ScanForStartupTasks(); s_master_init_flag = true; BackgroundThread.Start(); if (TrinityErrorCode.E_SUCCESS != StartEventLoop()) { throw new Exception("Cannot start worker thread pool"); } } try { Initialized(); } catch { //TODO log } }
private static void Initialize_impl(string config_file = null) { lock (s_storage_init_lock) { if (s_master_init_flag) { return; } TrinityC.Init(); if (config_file != null) { TrinityConfig.LoadConfig(config_file); } else { TrinityConfig.EnsureConfig(); } Log.Initialize(); _LoadGraphEngineExtensions(); _ScanForTSLStorageExtension(); _ScanForMemoryCloudExtension(); _ScanForStartupTasks(); s_master_init_flag = true; BackgroundThread.Start(); } try { Initialized(); } catch { //TODO log } }
static CTrinityConfig() { TrinityC.Init(); }
static Stdio() { TrinityC.Init(); }