- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for addFailure (0.05 sec)
-
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
if (response.hasFailures()) { for (final BulkItemResponse bulkItemResponses : response.getItems()) { if (bulkItemResponses.isFailed()) { result.addFailure(new SuggestIndexException("Bulk failure. " + bulkItemResponses.getFailureMessage())); } } } return result; } @Override
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
import java.util.Collections; import java.util.List; public class SuggestWriterResult { protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>()); public void addFailure(final Throwable t) { failures.add(t); } public boolean hasFailure() { return !failures.isEmpty(); } public List<Throwable> getFailures() { return failures; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.1K bytes - Viewed (0)