Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for isFailed (0.12 sec)

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

            final SuggestWriterResult result = new SuggestWriterResult();
            if (response.hasFailures()) {
                for (final BulkItemResponse bulkItemResponses : response.getItems()) {
                    if (bulkItemResponses.isFailed()) {
                        result.addFailure(new SuggestIndexException("Bulk failure. " + bulkItemResponses.getFailureMessage()));
                    }
                }
            }
    
            return result;
        }
    
    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/jcifs/smb/SmbTransportPoolImpl.java

                        && ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) {
                    try {
                        if ( conn.isFailed() || ( connectedOnly && conn.isDisconnected() ) ) {
                            continue;
                        }
    
                        if ( forceSigning && !conn.isSigningEnforced() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                final Map<String, Object> itemMap = new HashMap<>();
                itemMap.put("result", item.status().name());
                if (item.isFailed()) {
                    itemMap.put("message", item.getFailureMessage());
                } else {
                    itemMap.put("id", item.getId());
                }
                return itemMap;
    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/helper/IndexingHelper.java

                                for (int i = 0; i < docList.size(); i++) {
                                    final BulkItemResponse resp = items[i];
                                    if (resp.isFailed() && resp.getFailure() != null) {
                                        final Map<String, Object> req = docList.get(i);
                                        final Failure failure = resp.getFailure();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                        try ( SmbSessionImpl session = t.getSession() ) {
                            targetDomain = session.getTargetDomain();
                            if ( !session.isFailed() ) {
                                try ( SmbTransportImpl trans = session.getTransport();
                                      SmbTreeImpl ct = connectTree(loc, host, t.getShare(), trans, t, null) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

            return !this.transport.isDisconnected() && this.connectionState.get() == 2;
        }
    
    
        /**
         * @return whether the session has been lost
         */
        public boolean isFailed () {
            return this.transport.isFailed();
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

            return this.state == 4 || this.state == 5 || this.state == 6 || this.state == 0;
        }
    
    
        /**
         * @return whether the transport is marked failed
         */
        public boolean isFailed () {
            return this.state == 5 || this.state == 6;
        }
    
    
        /**
         * Send a request message and recieve response
         * 
         * @param request
         * @param response
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java

                if (entity instanceof EsAbstractEntity) {
                    ((EsAbstractEntity) entity).asDocMeta().id(itemResponse.getId());
                }
                results[i] = itemResponse.isFailed() ? 0 : 1;
            }
            return results;
        }
    
        // to suppress xacceptUpdateColumnModifiedPropertiesIfNeeds()'s specify process
        @Override
        protected UpdateOption<CB> createPlainUpdateOption() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java

                if (entity instanceof EsAbstractEntity) {
                    ((EsAbstractEntity) entity).asDocMeta().id(itemResponse.getId());
                }
                results[i] = itemResponse.isFailed() ? 0 : 1;
            }
            return results;
        }
    
        // to suppress xacceptUpdateColumnModifiedPropertiesIfNeeds()'s specify process
        @Override
        protected UpdateOption<CB> createPlainUpdateOption() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final BulkItemResponse[] responses = bulkResponse.getItems();
            for (int i = 0; i < responses.length; i++) {
                final BulkItemResponse response = responses[i];
                if (response.isFailed()) {
                    if (ignoreAlreadyExists) {
                        continue;
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top