Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 268 for automatic (0.95 sec)

  1. android/guava/src/com/google/common/cache/RemovalCause.java

       * CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
       */
      SIZE {
        @Override
        boolean wasEvicted() {
          return true;
        }
      };
    
      /**
       * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither
       * {@link #EXPLICIT} nor {@link #REPLACED}).
       */
      abstract boolean wasEvicted();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/RemovalNotification.java

        this.cause = checkNotNull(cause);
      }
    
      /** Returns the cause for which the entry was removed. */
      public RemovalCause getCause() {
        return cause;
      }
    
      /**
       * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither
       * {@link RemovalCause#EXPLICIT} nor {@link RemovalCause#REPLACED}).
       */
      public boolean wasEvicted() {
        return cause.wasEvicted();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.registerResource(resource);
            // Resource goes out of scope without closing - potential leak
        }
    
        @Test
        @DisplayName("Test automatic cleanup of old resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testAutomaticCleanup() throws InterruptedException {
            // Configure with very short max age for testing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/ResourceManager.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Centralized resource management for preventing resource leaks.
     * Tracks all AutoCloseable resources and ensures proper cleanup.
     *
     * Features:
     * - Automatic resource cleanup with weak references
     * - Resource leak detection
     * - Resource usage monitoring
     * - Periodic cleanup of abandoned resources
     * - Detailed resource tracking and reporting
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-data-types.md

    And you will still have the same features as seen up to now:
    
    * Great editor support.
    * Data conversion from incoming requests.
    * Data conversion for response data.
    * Data validation.
    * Automatic annotation and documentation.
    
    ## Other data types { #other-data-types }
    
    Here are some of the additional data types you can use:
    
    * `UUID`:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <h2>More on {@code CacheBuilder}</h2>
     *
     * {@code CacheBuilder} builds caches with any combination of the following features:
     *
     * <ul>
     *   <li>automatic loading of entries into the cache
     *   <li>least-recently-used eviction when a maximum size is exceeded (note that the cache is
     *       divided into segments, each of which does LRU internally)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-model.md

    * Add a **JSON Schema** for the response, in the OpenAPI *path operation*.
        * This will be used by the **automatic docs**.
        * It will also be used by automatic client code generation tools.
    
    But most importantly:
    
    * It will **limit and filter** the output data to what is defined in the return type.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java

    import com.google.common.cache.TestingCacheLoaders.IncrementingLoader;
    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to automatic cache refreshing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheRefreshTest.java

    import com.google.common.cache.TestingCacheLoaders.IncrementingLoader;
    import com.google.common.testing.FakeTicker;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests relating to automatic cache refreshing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class CacheRefreshTest extends TestCase {
      public void testAutoRefresh() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. README.md

    * **Easy**: Designed to be easy to use and learn. Less time reading docs.
    * **Short**: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
    * **Robust**: Get production-ready code. With automatic interactive documentation.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 15:19:49 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top