Exemple #1
0
        internal void DecrementGrainCounter(string grainTypeName)
        {
            if (logger.IsEnabled(LogLevel.Trace))
            {
                logger.Trace("Decrement Grain Counter {0}", grainTypeName);
            }
            CounterStatistic ctr = FindGrainCounter(grainTypeName);

            ctr.DecrementBy(1);
        }
Exemple #2
0
        internal void DecrementGrainCounter(string grainTypeName)
        {
            if (logger.IsVerbose2)
            {
                logger.Verbose2("Decrement Grain Counter {0}", grainTypeName);
            }
            CounterStatistic ctr = FindGrainCounter(grainTypeName);

            ctr.DecrementBy(1);
        }
Exemple #3
0
 internal static void OnWorkItemDequeue()
 {
     totalPendingWorkItems.DecrementBy(1);
     turnsDeQueuedTotal.Increment();
 }