internal void EnableGroupCaching(ProcessCachedGroupNotification callBack, int objectCount)
 {
     if (callBack != null)
     {
         this.groupQueue = new OutputGroupQueue(callBack, objectCount);
     }
 }
Exemple #2
0
 /// <summary>
 /// if needed, add a back end autosize (grouping) cache.
 /// </summary>
 /// <param name="callBack">Notification callback to be called when the desired number of objects is reached.</param>
 /// <param name="objectCount">Max number of objects to be cached.</param>
 internal void EnableGroupCaching(ProcessCachedGroupNotification callBack, int objectCount)
 {
     if (callBack != null)
     {
         _groupQueue = new OutputGroupQueue(callBack, objectCount);
     }
 }
Exemple #3
0
 /// <summary>
 /// if needed, add a back end autosize (grouping) cache.
 /// </summary>
 /// <param name="callBack">Notification callback to be called when the desired number of objects is reached.</param>
 /// <param name="groupingDuration">Max amount of time to cache of objects.</param>
 internal void EnableGroupCaching(ProcessCachedGroupNotification callBack, TimeSpan groupingDuration)
 {
     if (callBack != null)
     {
         _groupQueue = new OutputGroupQueue(callBack, groupingDuration);
     }
 }
Exemple #4
0
 /// <summary>
 /// if needed, add a back end autosize (grouping) cache
 /// </summary>
 /// <param name="callBack">notification callback to be called when the desired number of objects is reached</param>
 /// <param name="groupingDuration">max amount of time to cache of objects</param>
 internal void EnableGroupCaching(ProcessCachedGroupNotification callBack, TimeSpan groupingDuration)
 {
     if (callBack != null)
         _groupQueue = new OutputGroupQueue(callBack, groupingDuration);
 }