OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:eventbus
(Results
1 - 25
of
59
) sorted by null
1
2
3
/external/guava/guava/src/com/google/common/eventbus/
package-info.java
18
* The
EventBus
allows publish-subscribe-style communication between components
27
* {@code
EventBus
}</a>.
31
* <p>Converting an existing EventListener-based system to use the
EventBus
is
39
* <li><strong>...with
EventBus
:</strong> create a method that accepts
41
* {@link com.google.common.
eventbus
.Subscribe} annotation.</li>
50
* <li><strong>...with
EventBus
:</strong> pass your object to the
51
* {@link com.google.common.
eventbus
.
EventBus
#register(Object)} method on an
52
*
EventBus
. You'll need to
53
* make sure that your object shares an
EventBus
instance with the even
[
all
...]
AllowConcurrentEvents.java
17
package com.google.common.
eventbus
;
28
* indicates that
EventBus
may invoke the event subscriber simultaneously from
Subscribe.java
17
package com.google.common.
eventbus
;
32
* to register for event delivery from the {@link
EventBus
}.
SubscriberExceptionHandler.java
16
package com.google.common.
eventbus
;
SubscriberFindingStrategy.java
17
package com.google.common.
eventbus
;
23
* {@link
EventBus
}.
SynchronizedEventSubscriber.java
17
package com.google.common.
eventbus
;
DeadEvent.java
17
package com.google.common.
eventbus
;
43
* {@link
EventBus
}).
53
* originated the wrapped event). This is generally an {@link
EventBus
}.
AsyncEventBus.java
17
package com.google.common.
eventbus
;
27
* An {@link
EventBus
} that takes the Executor of your choice and uses it to
34
public class AsyncEventBus extends
EventBus
{
SubscriberExceptionContext.java
16
package com.google.common.
eventbus
;
28
private final
EventBus
eventBus
;
34
* @param
eventBus
The {@link
EventBus
} that handled the event and the
40
SubscriberExceptionContext(
EventBus
eventBus
, Object event, Object subscriber,
42
this.
eventBus
= checkNotNull(
eventBus
);
49
* @return The {@link
EventBus
} that handled the event and the subscriber
[
all
...]
EventSubscriber.java
17
package com.google.common.
eventbus
;
AnnotatedSubscriberFinder.java
17
package com.google.common.
eventbus
;
50
* instances of this class; this greatly improves performance if multiple
EventBus
instances are
EventBus.java
17
package com.google.common.
eventbus
;
48
* <p>The
EventBus
allows publish-subscribe-style communication between
61
* <li>Pass itself to an
EventBus
instance's {@link #register(Object)} method.
67
* {@link #post(Object)} method. The
EventBus
instance will determine the type
83
* <p>Subscribers should not, in general, throw. If they do, the
EventBus
will
88
* <p>The
EventBus
guarantees that it will not call a subscriber method from
92
* also called from outside the
EventBus
.
108
* {@code
EventBus
}</a>.
114
public class
EventBus
{
118
* across all
EventBus
instances, which greatly improves performance if multiple such instance
[
all
...]
/external/guava/guava-tests/test/com/google/common/eventbus/
PackageSanityTests.java
17
package com.google.common.
eventbus
;
StringCatcher.java
17
package com.google.common.
eventbus
;
30
* For testing fun, also includes a landmine method that
EventBus
tests are
AsyncEventBusTest.java
17
package com.google.common.
eventbus
;
ReentrantEventsTest.java
17
package com.google.common.
eventbus
;
26
* Validate that {@link
EventBus
} behaves carefully when listeners publish
36
final
EventBus
bus = new
EventBus
();
EventSubscriberTest.java
17
package com.google.common.
eventbus
;
EventBusTest.java
17
package com.google.common.
eventbus
;
33
* Test case for {@link
EventBus
}.
41
private
EventBus
bus;
45
bus = new
EventBus
(BUS_IDENTIFIER);
127
final
EventBus
eventBus
= new
EventBus
(handler);
136
eventBus
.register(subscriber);
137
eventBus
.post(EVENT);
141
assertEquals("
EventBus
should be available."
[
all
...]
/external/guava/guava-tests/benchmark/com/google/common/eventbus/
EventBusBenchmark.java
17
package com.google.common.
eventbus
;
23
* Benchmark for {@link
EventBus
}.
29
private
EventBus
eventBus
;
33
eventBus
= new
EventBus
("for benchmarking purposes");
34
eventBus
.register(this);
39
eventBus
.post("hello there");
/external/guava/guava-tests/test/com/google/common/eventbus/outside/
OutsideEventBusTest.java
17
package com.google.common.
eventbus
.outside;
19
import com.google.common.
eventbus
.
EventBus
;
20
import com.google.common.
eventbus
.Subscribe;
28
* Test cases for {@code
EventBus
} that must not be in the same package.
35
* If you do this test from common.
eventbus
.EventBusTest, it doesn't actually test the behavior.
36
* That is, even if exactly the same method works from inside the common.
eventbus
package tests,
42
EventBus
bus = new
EventBus
();
AnnotatedSubscriberFinderTests.java
17
package com.google.common.
eventbus
.outside;
22
import com.google.common.
eventbus
.
EventBus
;
23
import com.google.common.
eventbus
.Subscribe;
30
* Test that
EventBus
finds the correct subscribers.
32
* This test must be outside the c.g.c.
eventbus
package to test correctly.
51
EventBus
bus = new
EventBus
();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.jar
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.p2.core_2.3.0.v20130327-2119.jar
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.p2.core_2.3.0.v20130327-2119.jar
/prebuilts/tools/common/google-java-format/
google-java-format-1.0-all-deps.jar
Completed in 241 milliseconds
1
2
3