Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getAllStackTraces (0.11 sec)

  1. src/test/java/jcifs/tests/TimeoutTest.java

            }
    
        }
    
    
        @Test ( expected = ConnectionTimeoutException.class )
        public void testConnectTimeoutRead () throws IOException {
            Set<Thread> threadsBefore = new HashSet<>(Thread.getAllStackTraces().keySet());
            try ( ServerSocket ss = ServerSocketFactory.getDefault().createServerSocket(0, -1, InetAddress.getLoopbackAddress()) ) {
                int port = ss.getLocalPort();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            }
        }
    
        public static void processThreadDump(final Consumer<String> writer) {
            for (final Map.Entry<Thread, StackTraceElement[]> entry : Thread.getAllStackTraces().entrySet()) {
                writer.accept("Thread: " + entry.getKey());
                final StackTraceElement[] trace = entry.getValue();
                for (final StackTraceElement element : trace) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top