Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for synchronize (2.9 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

     *
     * <p>
     * The class uses a static {@code idCount} to generate unique IDs for each access result.
     * The {@code idCountLock} object is used to synchronize access to the {@code idCount} variable,
     * ensuring that IDs are generated in a thread-safe manner.
     * </p>
     *
     * <p>
     * The class also provides methods to get the count of access results for a given session,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java

        }
    
        protected void registerModifiedProperty(String propertyName) {
            __modifiedProperties.addPropertyName(propertyName);
            registerSpecifiedProperty(propertyName); // synchronize if exists, basically for user's manual call
        }
    
        public void modifiedToSpecified() {
            if (__modifiedProperties.isEmpty()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

         * @param size the maximum number of items to return
         * @return a PagingList containing the requested subset of mapping items
         */
        @Override
        public synchronized PagingList<CharMappingItem> selectList(final int offset, final int size) {
            if (mappingItemList == null) {
                reload(null);
            }
    
            if (offset >= mappingItemList.size() || offset < 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

        }
    
        @Override
        public synchronized void insert(final StemmerOverrideItem item) {
            try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final StemmerOverrideItem item) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

             * @param groups Array of group names.
             */
            public synchronized void setGroups(final String[] groups) {
                this.groups = groups;
            }
    
            /**
             * Sets the user's role assignments.
             * @param roles Array of role names.
             */
            public synchronized void setRoles(final String[] roles) {
                this.roles = roles;
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

         *
         * @param text the text containing URLs
         * @return the text with replaced URLs
         */
        public String replaceUrls(final String text) {
            if (cachedPathMappingList == null) {
                synchronized (this) {
                    if (cachedPathMappingList == null) {
                        init();
                    }
                }
            }
            String result = text;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         * This method delegates to {@link FileInputStream#mark(int)}.
         *
         * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid
         */
        @Override
        public synchronized void mark(final int readlimit) {
            fileInputStream.mark(readlimit);
        }
    
        /**
         * Tests if this input stream supports the mark and reset methods.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

         * The ingester is inserted into the collection and the array is re-sorted by priority.
         * This method is thread-safe.
         *
         * @param ingester the ingester to add
         */
        public synchronized void add(final Ingester ingester) {
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded Ingester: {}", ingester.getClass().getSimpleName());
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * It extends {@link LinkedHashMap} without synchronization. If multiple threads access
     * an instance concurrently, and at least one thread modifies the map structurally,
     * it must be synchronized externally.
     * </p>
     * <p>
     * For thread-safe usage, wrap with {@link java.util.Collections#synchronizedMap(Map)}:
     * </p>
     * <pre>
     * Map&lt;K, V&gt; syncMap = Collections.synchronizedMap(new LruHashMap&lt;&gt;(100));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap));
            }
    
            ComponentUtil.getLanguageHelper().updateDocument(dataMap);
    
            synchronized (docList) {
                docList.add(ingest(paramMap, dataMap));
                final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
                docList.addContentSize(contentSize);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top