Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hasFailures (0.07 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

                }
            }
    
            final BulkResponse response = bulkRequestBuilder.execute().actionGet(settings.getBulkTimeout());
            final SuggestWriterResult result = new SuggestWriterResult();
            if (response.hasFailures()) {
                for (final BulkItemResponse bulkItemResponses : response.getItems()) {
                    if (bulkItemResponses.isFailed()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        }
    
        protected void flush() {
            if (bulkRequestBuilder != null) {
                final BulkResponse response = bulkRequestBuilder.execute().actionGet(requestTimeout);
                if (response.hasFailures()) {
                    logger.warn("Failed to update scores: {}", response.buildFailureMessage());
                }
                bulkRequestBuilder = null;
            }
        }
    
        public int getPriority() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                    itemMap.put("message", item.getFailureMessage());
                } else {
                    itemMap.put("id", item.getId());
                }
                return itemMap;
            }).toList()).status(response.hasFailures() ? Status.FAILED : Status.OK).result());
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

        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)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

      internal var isDuplex: Boolean = false
        private set
    
      /** True if there was an exception on the connection to the peer. */
      internal var hasFailure: Boolean = false
        private set
    
      internal val connection: RealConnection
        get() = codec.carrier as? RealConnection ?: error("no connection for CONNECT tunnels")
    
      internal val isCoalescedConnection: Boolean
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            exchange.finishRequest()
          }
        } catch (e: IOException) {
          if (e is ConnectionShutdownException) {
            throw e // No request was sent so there's no response to read.
          }
          if (!exchange.hasFailure) {
            throw e // Don't attempt to read the response; we failed to send the request.
          }
          sendRequestException = e
        }
    
        try {
          if (responseBuilder == null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top