Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for threadName (0.26 sec)

  1. okhttp/src/test/java/okhttp3/SocksProxy.kt

        executor.execute {
          val threadName = "SocksProxy ${serverSocket!!.localPort}"
          Thread.currentThread().name = threadName
          try {
            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return;
            }
            short current = getSystemCpuPercent();
            if (current < percent) {
                return;
            }
            final String threadName = Thread.currentThread().getName();
            try {
                waitingThreadNames.add(threadName);
                while (current >= percent) {
                    if (logger.isInfoEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

    import okhttp3.internal.http.CallServerInterceptor
    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RetryAndFollowUpInterceptor
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.threadName
    import okio.AsyncTimeout
    import okio.Timeout
    
    /**
     * Bridge between OkHttp's application and network layers. This class exposes high-level application
     * layer primitives: connections, requests, responses, and streams.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  4. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        )
      }
    
      @Test fun taskNameIsUsedForThreadNameWhenRunning() {
        redQueue.execute("lucky task") {
          log += "run threadName:${Thread.currentThread().name}"
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).containsExactly("run threadName:lucky task")
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The multimap is serializable if {@code map}, {@code factory}, the collections generated by
       * {@code factory}, and the multimap contents are all serializable.
       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

    import java.util.Optional;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    import org.apache.maven.api.annotations.ThreadSafe;
    import org.apache.maven.api.model.Repository;
    import org.apache.maven.api.services.DependencyCoordinateFactory;
    import org.apache.maven.api.settings.Settings;
    
    /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       * or its views, only mappings whose keys satisfy the filter will be removed from the underlying
       * map.
       *
       * <p>The returned map isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered map's methods, such as {@code size()}, iterate across every key/value
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * such as {@code removeAll()} and {@code clear()} are called on the filtered set, only elements
       * that satisfy the filter will be removed from the underlying set.
       *
       * <p>The returned set isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered set's methods, such as {@code size()}, iterate across every element in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>boolean</type>
              <description>Specify that the Mojo is inherited.</description>
              <defaultValue>true</defaultValue>
            </field>
            <field>
              <name>threadSafe</name>
              <version>1.0.0/1.1.0</version>
              <type>boolean</type>
              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

       * clear()} are called on the filtered multiset, only elements that satisfy the filter will be
       * removed from the underlying multiset.
       *
       * <p>The returned multiset isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered multiset's methods, such as {@code size()}, iterate across every
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top