private Executor getPartitionedRegionExecutor() {
    if (partitionedRegionThread != null) {
      return partitionedRegionThread;
    } else {
      return partitionedRegionPool;
    }
  }
Returns the executor for the given type of processor.
geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterOperationExecutors.java