- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for handleStrings (0.06 seconds)
-
guava-tests/benchmark/com/google/common/eventbus/EventBusBenchmark.java
eventBus.register(this); } @Benchmark void postStrings(int reps) { for (int i = 0; i < reps; i++) { eventBus.post("hello there"); } } @Subscribe public void handleStrings(String string) { // Nothing to do here. }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
private final StringSubscriber s2 = new StringSubscriber("s2"); private final ImmutableList<Subscriber> stringSubscribers = ImmutableList.of( subscriber(bus, s1, "handleString", String.class), subscriber(bus, s2, "handleString", String.class)); private final ConcurrentLinkedQueue<Object> dispatchedSubscribers = new ConcurrentLinkedQueue<>(); private Dispatcher dispatcher;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.6K bytes - Click Count (0)