private static ControlRequestHandler createStatusHandler(final ControlNotificationHandler handler,
      final File directory, final ProcessType processType) {
    return () -> writeStatusToFile(fetchStatusWithValidation(handler), directory, processType);
  }
Returns the PID file.

@return the PID file
geode-core/src/main/java/org/apache/geode/internal/process/FileControllableProcess.java