Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 399 for callback1 (0.05 sec)

  1. 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,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. utils/tests/dummy_dialecter.go

    package tests
    
    import (
    	"gorm.io/gorm"
    	"gorm.io/gorm/callbacks"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    type DummyDialector struct {
    	TranslatedErr error
    }
    
    func (DummyDialector) Name() string {
    	return "dummy"
    }
    
    func (DummyDialector) Initialize(db *gorm.DB) error {
    	callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. 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,
            ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.3K bytes
    - Viewed (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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. 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.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                    // Verify parameters
                    assertSame(ldapUser, user);
                    assertEquals("dc=example,dc=com", baseDn);
                    assertEquals("(uid=%s)", accountFilter);
                    assertEquals("(memberOf=%s)", groupFilter);
    
                    // Test callback
                    String[] callbackRoles = new String[] { "role1", "role2" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                    return BASE64URL_DECODER.decode(base64String.trim());
                }
                throw e;
            }
        }
    
        /**
         * Processes the callback from OpenID Connect provider.
         *
         * @param request the HTTP servlet request
         * @param code the authorization code
         * @return the login credential
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      private val source: BufferedSource,
      private val callback: Callback,
    ) {
      private var lastId: String? = null
    
      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. finisher_api.go

    	return tx
    }
    
    // Update updates column with value using callbacks. Reference: https://gorm.io/docs/update.html#Update-Changed-Fields
    func (db *DB) Update(column string, value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = map[string]interface{}{column: value}
    	return tx.callbacks.Update().Execute(tx)
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top