Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 67 for nocommit (0.05 seconds)

  1. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                }
            }
    
            /**
             * Commits the current item to the temporary file.
             * @return the committed item or null if no item to commit
             */
            public ProtwordsItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
                        writer.write(item.toLineString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

         * This class handles the process of writing changes to a temporary file
         * and then replacing the original file upon successful commit.
         */
        protected class StopwordsUpdater implements Closeable {
    
            /** A flag indicating whether the changes have been committed. */
            protected boolean isCommit = false;
    
            /** The temporary file to write changes to. */
            protected File newFile;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                }
            }
    
            /**
             * Commits the changes.
             *
             * @return The new item if it was committed, otherwise null.
             */
            public KuromojiItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
                        writer.write(item.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

         * This class handles the process of writing changes to a temporary file
         * and then replacing the original file upon successful commit.
         */
        protected class SynonymUpdater implements Closeable {
    
            /** A flag indicating whether the changes have been committed. */
            protected boolean isCommit = false;
    
            /** The temporary file to write changes to. */
            protected File newFile;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

         * This class handles the process of writing changes to a temporary file
         * and then replacing the original file upon successful commit.
         */
        protected class StemmerOverrideUpdater implements Closeable {
    
            /** A flag indicating whether the changes have been committed. */
            protected boolean isCommit = false;
    
            /** The temporary file to write changes to. */
            protected File newFile;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

             * Commits any pending changes and marks the updater for final write.
             *
             * @return the committed mapping item, or null if no item was pending
             */
            public CharMappingItem commit() {
                isCommit = true;
                if (item != null && item.isUpdated()) {
                    try {
                        writer.write(item.toLineString());
                        writer.write(Constants.LINE_SEPARATOR);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Commit
            callback.commit();
    
            assertEquals(1, commitCount.get());
            assertEquals(3L, documentsBeforeCommit.get());
    
            // Store more and commit again
            callback.store(params, data);
            callback.store(params, data);
    
            assertEquals(5L, callback.getDocumentSize());
    
            callback.commit();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. CONTRIBUTING.md

    ### Creating commits and writing commit messages
    
    The commit messages that accompany your code changes are an important piece of documentation. Please follow these guidelines when creating commits:
    
    * [Write good commit messages.](https://cbea.ms/git-commit/#seven-rules)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  9. tests/transaction_test.go

    	user := User{Name: "transaction"}
    	if err := tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise")
    	}
    
    	if err := tx.Commit().Error; err != nil {
    		t.Fatalf("Commit should not raise error")
    	}
    
    	if err := tx.Rollback().Error; err == nil {
    		t.Fatalf("Rollback after commit should raise error")
    	}
    }
    
    func TestTransactionWithSavePoint(t *testing.T) {
    	tx := DB.Begin()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                    return 0;
                }
    
                @Override
                public long getExecuteTime() {
                    return 0;
                }
    
                @Override
                public void commit() {
                }
            };
    
            FileListIndexUpdateCallbackImpl callback = new FileListIndexUpdateCallbackImpl(mockCallback, null, 1);
            callback.setMaxDeleteDocumentCacheSize(1000);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
Back to Top