Uses of Class
org.javalite.async.Command
-
-
Uses of Command in org.javalite.async
Methods in org.javalite.async with type parameters of type Command Modifier and Type Method Description static <T extends Command>
TCommand. fromBytes(byte[] bytes)static <T extends Command>
TCommand. fromXml(String commandXml)Method 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 Command Modifier and Type Method Description protected CommandCommandListener. parseCommand(javax.jms.Message message)CommandAsync. receiveCommand(String queueName)Receives a command from a queue synchronously.CommandAsync. receiveCommand(String queueName, long timeout)Receives a command from a queue synchronously.Methods in org.javalite.async that return types with arguments of type Command Modifier and Type Method Description List<Command>Async. getTopCommands(int count, String queueName)Returns top commands in queue.Methods in org.javalite.async with parameters of type Command Modifier and Type Method Description protected voidDBCommandListener. onException(Command command, Exception exception)Override in subclasses to handle exceptions.voidAsync. send(String queueName, Command command)Sends a command into a queue for processingvoidAsync. send(String queueName, Command command, int deliveryMode)Sends a command into a queue for processingvoidAsync. send(String queueName, Command command, int deliveryMode, int priority, long timeToLive)Sends a command into a queue for processingvoidAsync. send(String queueName, Command command, int deliveryMode, int priority, long timeToLive, long deliveryTime)Sends a command into a queue for processingvoidAsync. send(String queueName, Command command, int deliveryMode, long deliveryTime)Sends a command into a queue for processingvoidAsync. send(String queueName, Command command, Date deliveryTime)Sends a command into a queue for processing
-