Ejemplo n.º 1
0
        /// <summary>
        /// Creates a singleton instance or throws if instance is already created
        /// </summary>
        public ZoneGovernorService(IApplication app) : base(app)
        {
            if (!App.Singletons.GetOrCreate(() => this).created)
            {
                throw new AZGOVException(Sky.StringConsts.AZGOV_INSTANCE_ALREADY_ALLOCATED_ERROR);
            }

            m_SubInstr = new InstrumentationDaemon(this);
            m_SubInstrReductionLevels = new Dictionary <string, int>();
            m_SubInstrCallers         = new ConcurrentDictionary <string, DateTime>();

            m_SubLog = new LogDaemon(this);

            m_SubHosts         = new Registry <HostInfo>();
            m_DynamicHostSlots = new Registry <DynamicHostInfo>();

            m_Locker = new LockServerService(this);
        }
Ejemplo n.º 2
0
 public SkyZoneInstrumentationProvider(InstrumentationDaemon director) : base(director)
 {
 }
Ejemplo n.º 3
0
 public TelemetryInstrumentationProvider(InstrumentationDaemon director) : base(director)
 {
 }
Ejemplo n.º 4
0
 public ChronicleInstrumentationProvider(InstrumentationDaemon director) : base(director)
 {
 }
Ejemplo n.º 5
0
 public NOPInstrumentationProvider(InstrumentationDaemon director) : base(director)
 {
 }