Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 515 for Fallback (0.35 seconds)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * across calls to multiple listeners. Specifically, a given listener will have its callbacks
       * invoked in the same order as the underlying service enters those states. Additionally, at most
       * one of the listener's callbacks will execute at once. However, multiple listeners' callbacks
       * may execute concurrently, and listeners may execute in an order different from the one in which
       * they were registered.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java

            loadIncludes(path, sp, callback);
            substitute(sp, callback);
            sp.forEach(properties::setProperty);
        }
    
        public static void substitute(MavenProperties props, UnaryOperator<String> callback) {
            for (Enumeration<?> e = props.propertyNames(); e.hasMoreElements(); ) {
                String name = (String) e.nextElement();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ds.callback;
    
    import java.util.Map;
    
    import org.codelibs.fess.entity.DataStoreParams;
    
    /**
     * Callback interface for handling index update operations during data store processing.
     * This interface provides methods for storing documents, tracking processing metrics,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/DataStore.java

    package org.codelibs.fess.ds;
    
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.opensearch.config.exentity.DataConfig;
    
    /**
     * The interface for DataStore.
     */
    public interface DataStore {
    
        /**
         * Store the data.
         * @param config The data configuration.
         * @param callback The callback.
         * @param initParamMap The initial parameters.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         *
         * @param index the name of the index to scroll through
         * @param callback the function to apply to each search hit, returning true to continue or false to stop
         * @return the number of documents processed
         */
        public static long scroll(final String index, final Function<SearchHit, Boolean> callback) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        manager.awaitStopped(5, SECONDS); // no exception thrown
      }
    
      /**
       * This covers a case where if the last service to stop failed then the stopped callback would
       * never be called.
       */
      public void testSingleFailedServiceCallsStopped() {
        Service a = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            ComponentUtil.register(new WebConfigBhv() {
                @Override
                public ListResultBean<WebConfig> selectList(final CBCall<WebConfigCB> cbLambda) {
                    cbLambda.callback(cb);
                    final ListResultBean<WebConfig> list = new ListResultBean<>();
                    list.add((WebConfig) crawlingConfigHelper.getCrawlingConfig("W1"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 35.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherCleanupTest.kt

    import org.junit.jupiter.api.Test
    
    class DispatcherCleanupTest {
      @StartStop
      private val server = MockWebServer()
    
      @Test
      fun testFinish() {
        val okhttp = OkHttpClient()
        val callback =
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {}
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java

         *
         * @param phase the phase where the error occurred
         * @param error the error message
         */
        void onError(String phase, String error);
    
        /**
         * Returns a no-op callback implementation.
         *
         * @return a callback that does nothing
         */
        static ChatPhaseCallback noOp() {
            return new ChatPhaseCallback() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:32:04 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        /**
         * Store the data.
         * @param dataConfig The data configuration.
         * @param callback The callback.
         * @param paramMap The parameters.
         * @param scriptMap The script map.
         * @param defaultDataMap The default data map.
         */
        protected abstract void storeData(DataConfig dataConfig, IndexUpdateCallback callback, DataStoreParams paramMap,
                Map<String, String> scriptMap, Map<String, Object> defaultDataMap);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top