- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for inject (0.03 sec)
-
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
* The resolve and reject methods decrement the CountDownLatch, allowing the getResponse method * to return the result of the computation. * </p> * * @param <RESPONSE> The type of the response. */ public class Deferred<RESPONSE extends Response> { /** * Constructs a new Deferred object. */ public Deferred() { // 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/Request.java
} return deferred.promise(); } /** * Processes the request. * @param client The OpenSearch client. * @param deferred The Deferred object to resolve or reject the response. */ protected abstract void processRequest(Client client, Deferred<T> deferred); /** * Returns a validation error message, or null if there are no errors.Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
} /** * Wraps an object instance into a pooled object. * @param obj The object to wrap * @return A PooledObject wrapping the given object */ @Override public PooledObject<T> wrap(final T obj) { return new DefaultPooledObject<>(obj); } /** * Destroys a pooled object and notifies the destroy listener if set.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
import org.codelibs.fess.crawler.exception.CrawlingAccessException; /** * The BinaryTransformer class is responsible for transforming binary data from a ResponseData object * into a ResultData object, and for retrieving the binary data from an AccessResultData object. * It extends the AbstractTransformer class. * * <p> * This transformer extracts the binary content from the response body of a web resource,
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
deferred.reject(new SuggesterException("Search failure. Failed shards num:" + searchResponse.getFailedShards())); } else { deferred.resolve(createResponse(searchResponse)); } } @Override public void onFailure(final Exception e) { deferred.reject(e); } }); }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
* * <p> * The class is a singleton, and is injected using the {@link Resource} annotation. * </p> * */ public class DataServiceImpl implements DataService<AccessResultImpl<Long>> { /** Counter for generating unique IDs */ protected static volatile long idCount = 0L; /** Lock object for synchronizing access to idCount */ private static Object idCountLock = new Object();Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java
/** The raw data. */ protected Object rawData = null; /** The serializer. */ protected Function<Object, byte[]> serializer; /** * Creates a new ResultData instance. */ public ResultData() { super(); } /** * Set the raw data. * @param rawData the raw data object to set */ public void setRawData(final Object rawData) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
/** * Indicates whether some other object is equal to this one. * * @param obj the reference object with which to compare * @return true if this object is the same as the obj argument; false otherwise */ @Override public boolean equals(final Object obj) { return inputStream.equals(obj); } /** * Returns a hash code value for the object. *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java
} /** * Adds an FtpAuthentication object to the holder. * @param auth The FtpAuthentication object to add. */ public void add(final FtpAuthentication auth) { if (auth != null) { authenticationList.add(auth); } } /** * Retrieves an FtpAuthentication object that matches the given path. * @param path The path to match.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java
} } public void test_setSerializer() { // ## Arrange ## final ResultData resultData = new ResultData(); final Function<Object, byte[]> serializer = new Function<Object, byte[]>() { @Override public byte[] apply(Object t) { return t.toString().getBytes(); } }; // ## Act ## resultData.setSerializer(serializer);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.9K bytes - Viewed (0)