Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 182 for newBuilder (0.07 seconds)

  1. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
            fessConfig = ComponentUtil.getFessConfig();
            cache = CacheBuilder.newBuilder()
                    .maximumSize(fessConfig.getSuggestPopularWordCacheSizeAsInteger().longValue())
                    .expireAfterWrite(fessConfig.getSuggestPopularWordCacheExpireAsInteger().longValue(), TimeUnit.MINUTES)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

                    .getUserPrincipalLookupService()
                    .lookupPrincipalByName(getUsername());
            ImmutableList<AclEntry> acl =
                ImmutableList.of(
                    AclEntry.newBuilder()
                        .setType(ALLOW)
                        .setPrincipal(user)
                        .setPermissions(EnumSet.allOf(AclEntryPermission.class))
                        .setFlags(DIRECTORY_INHERIT, FILE_INHERIT)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                    .createRemote(Repository.newBuilder()
                            .id("apache-snapshots")
                            .url("https://repository.apache.org/content/repositories/snapshots/")
                            .releases(RepositoryPolicy.newBuilder().enabled("false").build())
                            .snapshots(RepositoryPolicy.newBuilder().enabled("true").build())
                            .build());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

         * @param type The filter type.
         * @return The created filter cache.
         */
        protected LoadingCache<String, List<Pattern>> createFilterCache(final String type) {
            return CacheBuilder.newBuilder()//
                    .expireAfterWrite(filterCacheExpireAfterWrite, TimeUnit.SECONDS)//
                    .build(new CacheLoader<String, List<Pattern>>() {
    
                        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

          @Nullable DurationSpec refresh,
          @Nullable Strength keyStrength,
          @Nullable Strength valueStrength) {
    
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        if (concurrencyLevel != null) {
          builder.concurrencyLevel(concurrencyLevel);
        }
        if (initialCapacity != null) {
          builder.initialCapacity(initialCapacity);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                    && ComponentUtil.hasComponent("activityHelper");
        }
    
        private void buildScriptCache() {
            final Cache<String, CachedScript> oldCache = scriptCache;
            scriptCache = CacheBuilder.newBuilder()
                    .maximumSize(scriptCacheSize)
                    .removalListener((final RemovalNotification<String, CachedScript> notification) -> {
                        notification.getValue().close();
                    })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                 * resolveCoreExtension method which uses a CoreExtension
                 * object instead of a Plugin as this makes no sense.
                 */
                Plugin plugin = Plugin.newBuilder()
                        .groupId(interpolator.apply(extension.getGroupId()))
                        .artifactId(interpolator.apply(extension.getArtifactId()))
                        .version(interpolator.apply(extension.getVersion()))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheLoader.java

     * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() {
     *   public Graph load(Key key) throws AnyException {
     *     return createExpensiveGraph(key);
     *   }
     * };
     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }
     *
     * <p>Since this example doesn't support reloading or bulk loading, if you're able to use lambda
     * expressions it can be specified even more easily:
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/CacheLoader.java

     * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() {
     *   public Graph load(Key key) throws AnyException {
     *     return createExpensiveGraph(key);
     *   }
     * };
     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }
     *
     * <p>Since this example doesn't support reloading or bulk loading, it can also be specified much
     * more simply:
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java

                 * resolveCoreExtension method which uses a CoreExtension
                 * object instead of a Plugin as this makes no sense.
                 */
                Plugin plugin = Plugin.newBuilder()
                        .groupId(interpolator.apply(extension.getGroupId()))
                        .artifactId(interpolator.apply(extension.getArtifactId()))
                        .version(interpolator.apply(extension.getVersion()))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 13.9K bytes
    - Click Count (0)
Back to Top