- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 124 for dispatcher (0.06 sec)
-
guava/src/com/google/common/eventbus/Dispatcher.java
* * <p><b>Note:</b> The dispatcher is orthogonal to the subscriber's {@code Executor}. The dispatcher * controls the order in which events are dispatched, while the executor controls how (i.e. on which * thread) the subscriber is actually called when an event is dispatched to it. * * @author Colin Decker */ abstract class Dispatcher { /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt
* request bodies. */ public open fun peek(): MockResponse = MockResponse() /** * Release any resources held by this dispatcher. Any requests that are currently being dispatched * should return immediately. Responses returned after shutdown will not be transmitted: their * socket connections have already been closed. */ public open override fun close() {}
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
import okhttp3.internal.unmodifiable /** * Policy on when async requests are executed. * * Each dispatcher uses an [ExecutorService] to run calls internally. If you supply your own * executor, it should be able to run [the configured maximum][maxRequests] number of calls * concurrently. */ class Dispatcher() { /** * The maximum number of requests to execute concurrently. Above this requests queue in memory,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:22 UTC 2025 - 9.9K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/Dispatcher.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.mockwebserver abstract class Dispatcher { @Throws(InterruptedException::class) abstract fun dispatch(request: RecordedRequest): MockResponse open fun peek(): MockResponse = MockResponse().apply { this.socketPolicy = SocketPolicy.KEEP_OPEN } open fun shutdown() {}Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 894 bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
dispatcher = dispatcherA } private val dispatcherB = ClosableDispatcher() @StartStop val serverB = MockWebServer().apply { dispatcher = dispatcherB } /** This one won't start because it isn't annotated. */ private val dispatcherC = ClosableDispatcher() val serverC = MockWebServer().apply { dispatcher = dispatcherC } @Test fun happyPath() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 11:13:17 UTC 2025 - 3.3K bytes - Viewed (1) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
private Dispatcher dispatcher; public void testPerThreadQueuedDispatcher() { dispatcher = Dispatcher.perThreadDispatchQueue(); dispatcher.dispatch(1, integerSubscribers.iterator()); assertThat(dispatchedSubscribers) .containsExactly( i1, i2, i3, // Integer subscribers are dispatched to first. s1,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyExecutionListener.java
private final EventSpyDispatcher dispatcher; private final ExecutionListener delegate; EventSpyExecutionListener(EventSpyDispatcher dispatcher, ExecutionListener delegate) { this.dispatcher = dispatcher; this.delegate = delegate; } @Override public void projectDiscoveryStarted(ExecutionEvent event) { dispatcher.onEvent(event);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyRepositoryListener.java
private final EventSpyDispatcher dispatcher; private final RepositoryListener delegate; EventSpyRepositoryListener(EventSpyDispatcher dispatcher, RepositoryListener delegate) { this.dispatcher = dispatcher; this.delegate = delegate; } @Override public void artifactDeployed(RepositoryEvent event) { dispatcher.onEvent(event); delegate.artifactDeployed(event);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/webapp/WEB-INF/web.xml
<url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher><!-- TODO --> </filter-mapping> <filter-mapping> <filter-name>lastaPrepareFilter</filter-name> <url-pattern>/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <filter-mapping>Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Tue May 06 09:19:22 UTC 2025 - 7.9K bytes - Viewed (0) -
mockwebserver/README.md
``` #### Dispatcher By default MockWebServer uses a queue to specify a series of responses. Use a Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to dispatch on the request path. You can, for example, filter the request instead of using `server.enqueue()`. ### Java ```java final Dispatcher dispatcher = new Dispatcher() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 8.1K bytes - Viewed (0)