A B C D E F G I M O P Q R S T 
All Classes All Packages

A

Async - Class in org.javalite.async
Wrapper for embedded Apache ActiveMQ Artemis.
Async(String, boolean, Injector, QueueConfig...) - Constructor for class org.javalite.async.Async
Creates and configures a new instance.
Async(String, boolean, QueueConfig...) - Constructor for class org.javalite.async.Async
Creates and configures a new instance.
AsyncException - Exception in org.javalite.async
 
AsyncException() - Constructor for exception org.javalite.async.AsyncException
 
AsyncException(String) - Constructor for exception org.javalite.async.AsyncException
 
AsyncException(String, Throwable) - Constructor for exception org.javalite.async.AsyncException
 
AsyncException(Throwable) - Constructor for exception org.javalite.async.AsyncException
 

B

BatchReceiver - Class in org.javalite.async
Use to batch-read text messages from Async in a cont5ext of a transaction.
BatchReceiver(String, long, Connection) - Constructor for class org.javalite.async.BatchReceiver
 

C

close() - Method in class org.javalite.async.BatchReceiver
Closes this resource (calling it is mandatory).
close() - Method in class org.javalite.async.SessionPool
Closes all underlying JMS sessions.
Command - Class in org.javalite.async
Super class of all commands.
Command() - Constructor for class org.javalite.async.Command
 
CommandListener - Class in org.javalite.async
 
CommandListener() - Constructor for class org.javalite.async.CommandListener
 
commit() - Method in class org.javalite.async.BatchReceiver
Commits a current transaction.
configureNetty(String, int) - Method in class org.javalite.async.Async
Call this method once after a constructor in order to create a Netty instance to accept out of VM messages.
createNewSession() - Method in class org.javalite.async.SessionPool
 

D

DBCommandListener - Class in org.javalite.async
Standard command listener to process commands that require a database access.
DBCommandListener() - Constructor for class org.javalite.async.DBCommandListener
Use this constructor to open a connection using a set of properties from "database.properties" file according to current ACTIVE_ENV environment (development, production, etc.).
DBCommandListener(String) - Constructor for class org.javalite.async.DBCommandListener
JNDI string to open a connection from a pool.

E

execute() - Method in class org.javalite.async.Command
Subclasses are to provide implementation of this method to get application-specific work done.

F

fromBytes(byte[]) - Static method in class org.javalite.async.Command
 
fromXml(String) - Static method in class org.javalite.async.Command
Method used by framework to de-serialize a command from XML.

G

getBatchReceiver(String, long) - Method in class org.javalite.async.Async
Generate a BatchReceiver to receive and process stored messages.
getBytes(BytesMessage) - Static method in class org.javalite.async.Async
 
getCommandListener() - Method in class org.javalite.async.QueueConfig
 
getConfig() - Method in class org.javalite.async.Async
Get additional server configuration.
getJMSMessageID() - Method in class org.javalite.async.Command
 
getListenerCount() - Method in class org.javalite.async.QueueConfig
 
getMessageCount(String) - Method in class org.javalite.async.Async
Returns number of messages currently in queue
getMessageCounts() - Method in class org.javalite.async.Async
Returns counts of messages for all queues.
getName() - Method in class org.javalite.async.QueueConfig
 
getSession() - Method in class org.javalite.async.SessionPool
 
getTopCommands(int, String) - Method in class org.javalite.async.Async
Returns top commands in queue.
getTopTextMessages(int, String) - Method in class org.javalite.async.Async
Returns top TextMessages in queue.

I

isDurable() - Method in class org.javalite.async.QueueConfig
 
isPaused(String) - Method in class org.javalite.async.Async
 

M

moveMessage(String, String, String) - Method in class org.javalite.async.Async
Moves a message from one queue to another
moveMessages(String, String) - Method in class org.javalite.async.Async
Moves all messages from one queue to another

O

onCommand(T) - Method in class org.javalite.async.CommandListener
 
onCommand(T) - Method in class org.javalite.async.DBCommandListener
 
onException(Command, Exception) - Method in class org.javalite.async.DBCommandListener
Override in subclasses to handle exceptions.
onMessage(Message) - Method in class org.javalite.async.CommandListener
 
org.javalite.async - package org.javalite.async
JavaLite Async, see JavaLite Async.

P

parseCommand(Message) - Method in class org.javalite.async.CommandListener
 
pause(String) - Method in class org.javalite.async.Async
Pauses a queue.

Q

QueueConfig - Class in org.javalite.async
Simple configuration of queue.
QueueConfig(String) - Constructor for class org.javalite.async.QueueConfig
Creates a specification of a queue for Async with no listeners attached.
QueueConfig(String, CommandListener, int) - Constructor for class org.javalite.async.QueueConfig
Creates a specification of a queue for Async.
QueueConfig(String, CommandListener, int, boolean) - Constructor for class org.javalite.async.QueueConfig
Creates a specification of a queue for Async

R

receiveCommand(String) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
receiveCommand(String, int, Class<T>) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
receiveCommand(String, long) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
receiveCommand(String, Class<T>) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
receiveMessage(String, long) - Method in class org.javalite.async.Async
Receives a messafge from a queue asynchronously.If this queue also has listeners, then messages will be distributed across all consumers.
receiveTextMessages(int) - Method in class org.javalite.async.BatchReceiver
Receives and returns size Strings from the queue.
removeAllMessages(String) - Method in class org.javalite.async.Async
Removes all messages from queue.
removeMessages(String, String) - Method in class org.javalite.async.Async
Removes messages from queue.
resume(String) - Method in class org.javalite.async.Async
Resumes a paused queue
rollback() - Method in class org.javalite.async.BatchReceiver
Rolls back current transaction.

S

send(String, Command) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
send(String, Command, int) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
send(String, Command, int, int, long) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
send(String, Command, int, int, long, long) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
send(String, Command, int, long) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
send(String, Command, Date) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
sendTextMessage(String, String) - Method in class org.javalite.async.Async
Sends a non-expiring TextMessage with average priority.
sendTextMessage(String, String, int, int, long) - Method in class org.javalite.async.Async
Sends a TextMessage.
sendTextMessage(String, String, int, int, long, long) - Method in class org.javalite.async.Async
Sends a TextMessage.
sendTextMessage(String, String, long) - Method in class org.javalite.async.Async
Sends a non-expiring TextMessage with average priority.
SessionPool - Class in org.javalite.async
Serves as a pool of sessions for local sending/receiving to/from the Async.
SessionPool(String, Connection) - Constructor for class org.javalite.async.SessionPool
 
setBinaryMode(boolean) - Method in class org.javalite.async.Async
If true, uses binary mode to send messages.
setJMSMessageID(String) - Method in class org.javalite.async.Command
 
start() - Method in class org.javalite.async.Async
Starts the server.
stop() - Method in class org.javalite.async.Async
Stops this JMS server.

T

toBytes() - Method in class org.javalite.async.Command
Flattens(serializes, dehydrates, etc.) this instance to a binary representation.
toXml() - Method in class org.javalite.async.Command
Serializes this object into XML.
A B C D E F G I M O P Q R S T 
All Classes All Packages