Package io.a2a.server.events
Class InMemoryQueueManager
java.lang.Object
io.a2a.server.events.InMemoryQueueManager
- All Implemented Interfaces:
QueueManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(String taskId, EventQueue queue) voidawaitQueuePollerStart(EventQueue eventQueue) voidcreateOrTap(String taskId)
-
Constructor Details
-
InMemoryQueueManager
public InMemoryQueueManager()
-
-
Method Details
-
add
- Specified by:
addin interfaceQueueManager
-
get
- Specified by:
getin interfaceQueueManager
-
tap
- Specified by:
tapin interfaceQueueManager
-
close
- Specified by:
closein interfaceQueueManager
-
createOrTap
- Specified by:
createOrTapin interfaceQueueManager
-
awaitQueuePollerStart
- Specified by:
awaitQueuePollerStartin interfaceQueueManager- Throws:
InterruptedException
-