docs: public static int getPid() {
  
  		// format: "pid@hostname"
  		String jvmName = ManagementFactory.getRuntimeMXBean().getName();
  		String[] split = jvmName.split("@");
  		if (split.length != 2) {
  			return -1;
  		}
  
  		try {
  			return Integer.parseInt(split[0]);
  		} catch (Exception e) { // NOSONAR
  			return -1;
  		}
  	}