Uses of Class
marauroa.server.db.command.ResultHandle
Package
Description
This package contains infrastructure for asynchronous database access.
-
Uses of ResultHandle in marauroa.server.db.command
Modifier and TypeMethodDescriptionvoid
DBCommandQueue.enqueueAndAwaitResult(DBCommand command, DBCommandPriority priority, ResultHandle handle)
enqueues a command and remembers the result.void
DBCommandQueue.enqueueAndAwaitResult(DBCommand command, ResultHandle handle)
enqueues a command and remembers the result.<T extends DBCommand>
TDBCommandQueue.getOneResult(Class<T> clazz, ResultHandle handle)
gets one processed result of the specified DBCommand class that have been requested in the current thread.DBCommandQueue.getResults(Class<T> clazz, ResultHandle handle)
gets the processed results of the specified DBCommand class that have been requested in the current thread.