Uses of Class
org.javalite.async.Command
Packages that use Command
-
Uses of Command in org.javalite.async
Methods in org.javalite.async with type parameters of type CommandModifier and TypeMethodDescriptionstatic <T extends Command>
TCommand.fromBytes(byte[] bytes)
static <T extends Command>
TMethod used by framework to de-serialize a command from XML.<T extends Command>
voidCommandListener.onCommand(T command)
<T extends Command>
voidDBCommandListener.onCommand(T command)
<T extends Command>
TAsync.receiveCommand(String queueName, int timeout, Class<T> type)
Receives a command from a queue synchronously.<T extends Command>
TAsync.receiveCommand(String queueName, Class<T> type)
Receives a command from a queue synchronously.Methods in org.javalite.async that return CommandModifier and TypeMethodDescriptionprotected Command
CommandListener.parseCommand(javax.jms.Message message)
Async.receiveCommand(String queueName)
Receives a command from a queue synchronously.Async.receiveCommand(String queueName, long timeout)
Receives a command from a queue synchronously.Methods in org.javalite.async that return types with arguments of type CommandModifier and TypeMethodDescriptionAsync.getTopCommands(int count, String queueName)
Returns top commands in queue.Methods in org.javalite.async with parameters of type CommandModifier and TypeMethodDescriptionprotected void
DBCommandListener.onException(Command command, Exception exception)
Override in subclasses to handle exceptions.void
Sends a command into a queue for processingvoid
Sends a command into a queue for processingvoid
Sends a command into a queue for processingvoid
Async.send(String queueName, Command command, int deliveryMode, int priority, long timeToLive, long deliveryTime)
Sends a command into a queue for processingvoid
Sends a command into a queue for processingvoid
Sends a command into a queue for processing