Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 307 for deferred (0.07 sec)

  1. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

    import org.codelibs.core.exception.InterruptedRuntimeException;
    import org.codelibs.fess.suggest.exception.SuggesterException;
    import org.codelibs.fess.suggest.request.Response;
    
    public class Deferred<RESPONSE extends Response> {
        private RESPONSE response = null;
    
        private Throwable error = null;
    
        private final Promise promise = new Promise();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            deferred.promise().then(response -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
        }
    
        @Test
        public void test_doneAfterResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                if (path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(path);
    
                }
                if (comment != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(comment);
    
                }
                if (stores != null) {
                    _dst = _dst.deferred;
                    int _storess = num_stores;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 15K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                if (root_directory != null) {
                    _dst = _dst.deferred;
                    root_directory.encode(_dst);
    
                }
                if (object_name != null) {
                    _dst = _dst.deferred;
                    object_name.encode(_dst);
    
                }
                if (security_quality_of_service != null) {
                    _dst = _dst.deferred;
                    security_quality_of_service.encode(_dst);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

                if (netname != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(netname);
    
                }
                if (remark != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(remark);
    
                }
                if (path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(path);
    
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                if ( this.path != null ) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.path);
    
                }
                if ( this.comment != null ) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.comment);
    
                }
                if ( this.stores != null ) {
                    _dst = _dst.deferred;
                    int _storess = this.num_stores;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        }
    
    
        public int getLength () {
            return this.deferred.length;
        }
    
    
        public void setLength ( int length ) {
            this.deferred.length = length;
        }
    
    
        public void advance ( int n ) {
            this.index += n;
            if ( ( this.index - this.start ) > this.deferred.length ) {
                this.deferred.length = this.index - this.start;
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  8. 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 Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/Request.java

            }
    
            final Deferred<T> deferred = new Deferred<>();
            try {
                processRequest(client, deferred);
            } catch (final Exception e) {
                throw new SuggesterException(e);
            }
            return deferred.promise();
        }
    
        protected abstract void processRequest(Client client, Deferred<T> deferred);
    
        protected abstract String getValidationError();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                    _dst = _dst.deferred;
                    this.root_directory.encode(_dst);
    
                }
                if ( this.object_name != null ) {
                    _dst = _dst.deferred;
                    this.object_name.encode(_dst);
    
                }
                if ( this.security_quality_of_service != null ) {
                    _dst = _dst.deferred;
                    this.security_quality_of_service.encode(_dst);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
Back to top