Package | Description |
---|---|
org.javalite.async |
JavaLite Async, see JavaLite Async.
|
org.javalite.async.pooltest |
Modifier and Type | Method and Description |
---|---|
static <T extends Command> |
Command.fromBytes(byte[] bytes) |
static <T extends Command> |
Command.fromXml(String commandXml)
Method used by framework to de-serialize a command from XML.
|
<T extends Command> |
CommandListener.onCommand(T command) |
<T extends Command> |
DBCommandListener.onCommand(T command) |
<T extends Command> |
Async.receiveCommand(String queueName,
Class<T> type)
Receives a command from a queue synchronously.
|
<T extends Command> |
Async.receiveCommand(String queueName,
int timeout,
Class<T> type)
Receives a command from a queue synchronously.
|
Modifier and Type | Method and Description |
---|---|
protected Command |
CommandListener.parseCommand(javax.jms.Message message) |
Command |
Async.receiveCommand(String queueName)
Receives a command from a queue synchronously.
|
Command |
Async.receiveCommand(String queueName,
long timeout)
Receives a command from a queue synchronously.
|
Modifier and Type | Method and Description |
---|---|
List<Command> |
Async.getTopCommands(int count,
String queueName)
Returns top commands in queue.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DBCommandListener.onException(Command command,
Exception exception)
Override in subclasses to handle exceptions.
|
void |
Async.send(String queueName,
Command command)
Sends a command into a queue for processing
|
void |
Async.send(String queueName,
Command command,
Date deliveryTime)
Sends a command into a queue for processing
|
void |
Async.send(String queueName,
Command command,
int deliveryMode)
Sends a command into a queue for processing
|
void |
Async.send(String queueName,
Command command,
int deliveryMode,
int priority,
long timeToLive)
Sends a command into a queue for processing
|
void |
Async.send(String queueName,
Command command,
int deliveryMode,
int priority,
long timeToLive,
long deliveryTime)
Sends a command into a queue for processing
|
void |
Async.send(String queueName,
Command command,
int deliveryMode,
long deliveryTime)
Sends a command into a queue for processing
|
Modifier and Type | Class and Description |
---|---|
class |
HelloPerformanceCommand |
Copyright © 2020 JavaLite. All rights reserved.