Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ProcessHandle (0.26 seconds)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

                @Override
                public String getSchedulerTargetName() {
                    return "";
                }
            });
            final String hostname = systemHelper.getHostname();
            final long pid = ProcessHandle.current().pid();
            assertEquals(hostname + ":" + pid, systemHelper.getInstanceId());
        }
    
        @Test
        public void test_getInstanceId_withTargetName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              println("TLSv1.3 requires an external command run before first traffic is sent")
              println("Follow instructions at https://github.com/neykov/extract-tls-secrets for TLSv1.3")
              println("Pid: ${ProcessHandle.current().pid()}")
    
              Thread.sleep(10000)
            }
          }
    
          CommandLine -> {
            return ProcessBuilder(
              "tshark",
              "-l",
              "-V",
              "-o",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                writer.accept(CLIReportingUtils.showVersionMinimal());
            } else if (context.invokerRequest.effectiveVerbose()) {
                writer.accept(CLIReportingUtils.showVersion(
                        ProcessHandle.current().info().commandLine().orElse(null), describe(context.terminal)));
    
            } else {
                writer.accept(CLIReportingUtils.showVersion());
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public String getInstanceId() {
            final String targetName = ComponentUtil.getFessConfig().getSchedulerTargetName();
            final String hostname = getHostname();
            final long pid = ProcessHandle.current().pid();
            if (StringUtil.isNotBlank(targetName)) {
                return targetName + "@" + hostname + ":" + pid;
            }
            return hostname + ":" + pid;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
Back to Top