Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,266 for safe (1.74 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     *
     * <p>The {@link org.apache.maven.api.Session} interface is the main entry point for Maven operations.
     * It maintains the state of a Maven execution and provides access to all core services and components.
     * Sessions are thread-safe and can be obtained in session-scoped components using the
     * {@link org.apache.maven.api.di.SessionScoped} annotation.</p>
     *
     * <p>Key capabilities provided through the Session include:</p>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LoadingCache.java

     * instances is using {@link CacheBuilder}.
     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
     * by multiple concurrent threads.
     *
     * <p>When evaluated as a {@link Function}, a cache yields the same result as invoking {@link
     * #getUnchecked}.
     *
     * @param <K> the type of the cache's keys, which are not permitted to be null
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

        }
    
        /**
         * Test concurrent watch operations
         */
        @Test
        void testConcurrentWatch() throws Exception {
            // Create a thread-safe implementation
            SmbWatchHandle concurrentHandle = new SmbWatchHandle() {
                private final Object lock = new Object();
                private int watchCount = 0;
    
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

     *
     * <p>It uses {@code Map} and {@code Queue} data structures to hold the data. The class provides
     * methods to add, remove, clear, and retrieve data from these structures.
     *
     * <p>The class is thread-safe due to the use of {@code synchronized} keyword on methods that
     * modify the internal data structures. The internal maps are also declared as {@code volatile}
     * to ensure visibility of changes across threads.
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. docs/contribute/concurrency.md

    Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.
    
    These are the primary classes involved with establishing, sharing, and terminating connections:
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

        /** Atomic flag indicating whether the crawler is currently running. */
        private static AtomicBoolean running = new AtomicBoolean(false);
    
        /** Thread-safe queue for collecting error messages during crawling operations. */
        private static Queue<String> errors = new ConcurrentLinkedQueue<>();
    
        /** Injected search engine client for OpenSearch operations. */
        @Resource
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                fail("Should not throw exception when accessTimeout is null: " + e.getMessage());
            }
        }
    
        public void test_initialization_idempotency() {
            // Test that multiple init calls are safe
            FileSystemClient client = new FileSystemClient();
    
            // First initialization
            if (client.isInit.compareAndSet(false, true)) {
                client.init();
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractNetwork.java

              }
    
              @Override
              public int size() {
                return AbstractNetwork.this.edges().size();
              }
    
              // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
              // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
              // Network<LinkedList>.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * of Java 20, it always throws an exception, and as of Java 26, the method does not even exist.
       * For now, we continue using it to clean up under older JDKs.
       *
       * Our usages should at least be *relatively* safe: Typically, threads started by a test are dying
       * at the end of the test, so there is no object state put at risk by stopping the threads
       * abruptly. In other cases, a test may put a thread into an uninterruptible operation
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStatsAccumulator.java

    import com.google.common.primitives.Doubles;
    
    /**
     * A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some
     * basic statistics over all the values added so far. This class is not thread safe.
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class PairedStatsAccumulator {
      /** Creates a new accumulator. */
      public PairedStatsAccumulator() {}
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top