- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 305 for Deferred (0.08 sec)
-
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) -
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) -
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) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 33K bytes - Viewed (0) -
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) -
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) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
if ( this.netname != null ) { _dst = _dst.deferred; _dst.enc_ndr_string(this.netname); } if ( this.remark != null ) { _dst = _dst.deferred; _dst.enc_ndr_string(this.remark); } if ( this.path != null ) { _dst = _dst.deferred; _dst.enc_ndr_string(this.path);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:40:13 UTC 2019 - 19.9K bytes - Viewed (0) -
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) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.6K 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 Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7K bytes - Viewed (0)