- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for promise (0.03 sec)
-
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start(); final CountDownLatch latch = new CountDownLatch(1); deferred.promise().then(response -> latch.countDown()); assertTrue(latch.await(10, TimeUnit.SECONDS)); } @Test public void test_doneAfterResolve() throws Exception {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
} /** * Returns the promise. * @return The promise. */ public Promise promise() { return promise; } /** * The promise. */ public class Promise { /** * Constructs a new Promise object. */ public Promise() { // nothing } /**Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/Request.java
*/ public Request() { // nothing } /** * Executes the request. * @param client The OpenSearch client. * @return A Promise that will be resolved with the response or rejected with an error. */ public Deferred<T>.Promise execute(final Client client) { final String error = getValidationError(); if (!Strings.isNullOrEmpty(error)) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/Normalizer.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.normalizer; /** * An interface for normalizing text. * Implementations of this interface should provide a method to normalize * a given text based on the specified field and optional language parameters. */ public interface Normalizer { /** * Normalizes the given text. * @param text The text to normalizeRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
import java.io.Closeable; import java.util.Map; /** * Interface for reading documents and extracting their contents into a map. * Implementations of this interface should provide the logic for reading * documents and converting them into a key-value structure. * * <p>This interface extends {@link java.io.Closeable}, so implementationsRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/Rule.java
import org.codelibs.fess.crawler.processor.ResponseProcessor; /** * The Rule interface defines the contract for implementing rules that can be applied to * response data in a web crawler. Implementations of this interface should provide logic * to determine if a given response data matches the rule, retrieve the rule's identifier, * and obtain the associated response processor. */ public interface Rule extends Serializable { /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/Response.java
* in the suggestion system. Implementations of this interface are used to * encapsulate the results of various operations and queries within the system. * * <p>Classes implementing this interface should provide specific details and * data relevant to the type of response they represent.</p> */ public interface Response {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java
* {@code ruleId} and {@code responseProcessor}. * </p> * * <p> * Subclasses should extend this class and implement the abstract methods * defined in the {@link Rule} interface to provide specific rule logic. * </p> * */ public abstract class AbstractRule implements Rule { private static final long serialVersionUID = 1L; /** The rule ID. */ protected String ruleId;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/Extractor.java
import java.util.Map; import org.codelibs.fess.crawler.entity.ExtractData; /** * The Extractor interface defines methods for extracting text data from an input stream. * Implementations of this interface should provide the logic for extracting text and * optionally override the default weight value. */ public interface Extractor { /** * Extracts text data from the given input stream. *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.6K bytes - Viewed (0)