getPodAwareProcessorCount method

  1. @override
int getPodAwareProcessorCount()

Gets the number of registered pod-aware processors.

Pod-aware processors can modify pods during factory initialization.

Usage Example:

final count = factory.getPodAwareProcessorCount();
print('Number of pod-aware processors: $count');

@return The number of registered pod-aware processors

Implementation

@override
int getPodAwareProcessorCount() {
  int count = getPodFactory().getPodAwareProcessorCount();

  if (_parent != null) {
    count += _parent!.getPodFactory().getPodAwareProcessorCount();
  }

  return count;
}