Package io.opencensus.implcore.internal
Class SimpleEventQueue
- java.lang.Object
-
- io.opencensus.implcore.internal.SimpleEventQueue
-
- All Implemented Interfaces:
EventQueue
public class SimpleEventQueue extends java.lang.Object implements EventQueue
AnEventQueue
that processes events in the current thread. This class can be used for testing.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.opencensus.implcore.internal.EventQueue
EventQueue.Entry
-
-
Constructor Summary
Constructors Constructor Description SimpleEventQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enqueue(EventQueue.Entry entry)
void
shutdown()
-
-
-
Method Detail
-
enqueue
public void enqueue(EventQueue.Entry entry)
- Specified by:
enqueue
in interfaceEventQueue
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceEventQueue
-
-