Exemple #1
0
 /// <summary>
 /// Уведомление о том, что элемент пула перешёл в непригодное для использования состояние
 /// </summary>
 /// <param name="poolName">Имя пула</param>
 /// <param name="currentElementCount">Текущее число элементов в пуле</param>
 public void ObjectPoolElementFaulted(string poolName, int currentElementCount)
 {
     try { _wrappedProvider.ObjectPoolElementFaulted(poolName, currentElementCount); }
     catch (Exception ex) { ProcessException(ex); }
 }
Exemple #2
0
 internal static void ObjectPoolElementFaulted(string poolName, int currentElementCount)
 {
     _profiler?.ObjectPoolElementFaulted(poolName, currentElementCount);
 }