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
AnEventQueuethat 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 voidenqueue(EventQueue.Entry entry)voidshutdown()
-
-
-
Method Detail
-
enqueue
public void enqueue(EventQueue.Entry entry)
- Specified by:
enqueuein interfaceEventQueue
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceEventQueue
-
-