Example #1
0
 private void OnPendingActorMethodCallsUpdated(PendingActorMethodDiagnosticData pendingMethodData)
 {
     if (null != this.actorLockContentionCounterWriter)
     {
         this.actorLockContentionCounterWriter.UpdateCounterValue(pendingMethodData);
     }
 }
Example #2
0
        internal void UpdateCounterValue(PendingActorMethodDiagnosticData pendingMethodData)
        {
            long delta = pendingMethodData.PendingActorMethodCallsDelta;

            if (delta != 0)
            {
                this.Counter.IncrementBy(delta);
            }
        }
Example #3
0
 private void OnPendingActorMethodCallsUpdated(PendingActorMethodDiagnosticData pendingMethodData)
 {
     if (this.writer.IsPendingMethodCallsEventEnabled())
     {
         var actorId = pendingMethodData.ActorId;
         this.writer.ActorMethodCallsWaitingForLock(
             pendingMethodData.PendingActorMethodCalls,
             this.actorType,
             actorId,
             this.serviceContext);
     }
 }