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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.a2a.server.events.QueueManager
getEventQueueBuilder
-
Constructor Details
-
InMemoryQueueManager
public InMemoryQueueManager() -
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
-