Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 363 for fallbacks (0.1 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionQuery.java

            void callback(CQ query, CF filter);
        }
    
        @FunctionalInterface
        public interface OperatorCall<CQ extends EsAbstractConditionQuery> {
    
            void callback(CQ query);
        }
    
        @FunctionalInterface
        public interface ScoreFunctionCall<CC extends ScoreFunctionCreator<?>> {
    
            void callback(CC creator);
        }
    
        @FunctionalInterface
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test fallback used when circuit is open")
        void testFallbackWhenOpen() throws Exception {
            // Open the circuit
            circuitBreaker.tripBreaker();
    
            String result = circuitBreaker.call(() -> "primary", () -> "fallback");
    
            assertEquals("fallback", result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. callbacks/interfaces.go

    package callbacks
    
    import "gorm.io/gorm"
    
    type BeforeCreateInterface interface {
    	BeforeCreate(*gorm.DB) error
    }
    
    type AfterCreateInterface interface {
    	AfterCreate(*gorm.DB) error
    }
    
    type BeforeUpdateInterface interface {
    	BeforeUpdate(*gorm.DB) error
    }
    
    type AfterUpdateInterface interface {
    	AfterUpdate(*gorm.DB) error
    }
    
    type BeforeSaveInterface interface {
    	BeforeSave(*gorm.DB) error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 27 07:03:57 UTC 2020
    - 667 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((IndexRequestBuilder) builder);
                } else if (builder instanceof UpdateRequestBuilder) {
                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((UpdateRequestBuilder) builder);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Resources.java

      }
    
      /**
       * Streams lines from a URL, stopping when our callback returns false, or we have read all of the
       * lines.
       *
       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @param callback the LineProcessor to use to handle the lines
       * @return the output of processing the lines
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

            defaultResponseHeaders.forEach(header -> callback.accept(header.getFirst(), header.getSecond()));
            final List<Pair<String, String>> headers = responseHeaderMap.get(mimeType);
            if (headers != null) {
                headers.forEach(header -> callback.accept(header.getFirst(), header.getSecond()));
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                        () -> asHtml(path_AdminWizard_AdminWizardConfigJsp));
                return null;
            }
        }
    
        /**
         * Retrieves an integer value from system properties with a default fallback.
         *
         * @param key the property key to look up
         * @param defaultValue the default value if the property is not found or invalid
         * @return the integer value or default value
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/InputStreamThread.java

    /**
     * A thread that reads from an input stream line by line and maintains a buffer of recent lines.
     * This class provides functionality to read input stream data asynchronously,
     * optionally process each line with a callback function, and maintain a circular buffer
     * of recent lines for retrieval.
     */
    public class InputStreamThread extends Thread {
        /** Logger instance for this class */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. internal/stmt_store/stmt_store.go

    //
    // This function defines an onEvicted callback that is invoked when a cache entry is evicted.
    // The callback ensures that if the evicted value (v) is not nil, its Close method is called asynchronously
    // to release associated resources.
    //
    // Returns:
    //   - A Store instance implemented by lruStore, which internally uses an LRU cache with the specified size,
    //     eviction callback, and TTL.
    func New(size int, ttl time.Duration) Store {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top