Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for Flush (0.02 seconds)

  1. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            logNotificationTarget.expired();
        }
    
        @Test
        public void test_flush_callsExpired() {
            // flush() delegates to expired(); with empty buffer, no-op (no exception)
            logNotificationTarget.flush();
        }
    
        @Test
        public void test_expired_withEvents_drainsBuffer() {
            // Add events to buffer
            ComponentUtil.getLogNotificationHelper()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

                    }
                }
            } catch (final Exception e) {
                logger.debug("Failed to flush log notifications to OpenSearch.", e);
            }
        }
    
        /**
         * Flushes all buffered log notification events immediately.
         */
        public void flush() {
            expired();
        }
    
        private String resolveIndexName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

        }
    
        /**
         * Stops the log notification timer and performs a final flush.
         */
        @PreDestroy
        public void destroy() {
            if (timeoutTask != null) {
                timeoutTask.cancel();
            }
            if (logNotificationTarget != null) {
                logNotificationTarget.flush();
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                if (response.getHttpStatusCode() == 200) {
                    logger.info("Flushed config files.");
                } else {
                    logger.warn("Failed to flush config files.");
                }
            } catch (final Exception e) {
                logger.warn("Failed to flush config files.", e);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  5. android/guava/src/com/google/common/io/ByteStreams.java

       */
      private static final int ZERO_COPY_CHUNK_SIZE = 512 * 1024;
    
      private ByteStreams() {}
    
      /**
       * Copies all bytes from the input stream to the output stream. Does not close or flush either
       * stream.
       *
       * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the
       * equivalent {@link InputStream#transferTo} method instead.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  6. src/cmd/asm/main.go

    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	defer ctxt.Bso.Flush()
    
    	architecture.Init(ctxt)
    
    	// Create object file, write header.
    	buf, err := bio.Create(*flags.OutputFile)
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer buf.Close()
    
    	if !*flags.SymABIs {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Apr 02 17:07:18 GMT 2026
    - 3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
                if (logNotificationTask != null) {
                    logNotificationTask.cancel();
                }
                if (logNotificationTarget != null) {
                    logNotificationTarget.flush();
                }
                destroyContainer();
            }
    
            System.exit(exitCode);
        }
    
        private static void destroyContainer() {
            TimeoutManager.getInstance().stop();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                }
                if (logNotificationTask != null) {
                    logNotificationTask.cancel();
                }
                if (logNotificationTarget != null) {
                    logNotificationTarget.flush();
                }
                destroyContainer();
            }
    
            logger.info("Finished SuggestCreator.");
            System.exit(exitCode);
        }
    
        private static void destroyContainer() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
                if (logNotificationTask != null) {
                    logNotificationTask.cancel();
                }
                if (logNotificationTarget != null) {
                    logNotificationTarget.flush();
                }
                destroyContainer();
            }
    
            if (exitCode != Constants.EXIT_OK) {
                System.exit(exitCode);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

            try {
                writer.write("event: " + event + "\n");
                writer.write("data: " + objectMapper.writeValueAsString(data) + "\n\n");
                writer.flush();
            } catch (final JsonProcessingException e) {
                logger.warn("[RAG] Failed to serialize SSE data. event={}", event, e);
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
Back to Top