docs: public static String getProcessId(final String fallback) {
          final String jvmName = ManagementFactory.getRuntimeMXBean().getName();
          final int index = jvmName.indexOf('@');
          if (index < 1) {
              return fallback;
          }
          try {
              return Long.toString(Long.parseLong(jvmName.substring(0, index)));
          }
          catch (NumberFormatException e) {
          }
          return fallback;
      }