Skip navigation links
A D E G I L M P R S T W 

A

add(String, long) - Method in class psl.DispatcherThreadStats
Adds a new execution information.
add(long) - Method in class psl.TimingStats
Adds a new timing to the statistics.
add_async(SUB_T) - Method in interface psl.Dispatcher
Adds a new subscriber to the dispatcher using a asynchronous subscription.
add_async(SUB_T) - Method in class psl.LocalDispatcher
 
add_sync(SUB_T) - Method in interface psl.Dispatcher
Adds a new subscriber to the dispatcher using a synchronous subscription.
add_sync(SUB_T) - Method in class psl.LocalDispatcher
 
aggregate(List<TimingStats>) - Static method in class psl.TimingStats
Aggregates several timing stats.
alive() - Method in class psl.AsyncDispatcher
Checks whether the dispatcher is still alive.
AsyncDispatcher - Class in psl
Dispatcher used to run asynchronous requests.
AsyncDispatcher(String, ExceptionHandler, int) - Constructor for class psl.AsyncDispatcher
Creates a new dispatcher.
AsynchronousDispatchLocation - Exception in psl
This exception does not represent an error but rather acts as a mark in the stack trace to keep track of asynchronous dispatch locations.
AsynchronousDispatchLocation(Throwable) - Constructor for exception psl.AsynchronousDispatchLocation
Creates a new exception.
average() - Method in class psl.TimingStats
Obtains the average execution time.

D

DefaultExceptionHandler - Class in psl
Default implementation of an exception handler.
DefaultExceptionHandler() - Constructor for class psl.DefaultExceptionHandler
Creates a new default exception handler.
dispatch(SUB_T) - Method in interface psl.DispatcherOp
Performs the dispatching operation on the subscriber.
dispatch(DispatcherOp<SUB_T>) - Method in class psl.LocalDispatcher
Dispatchers an event to all subscribers.
Dispatcher<SUB_T> - Interface in psl
Dispatcher that informs subscribers of events.
DispatcherOp<SUB_T> - Interface in psl
Dispatch operation.
DispatcherThreadFactoryMXBean - Interface in psl
MX bean interface for a dispatcher thread factory.
DispatcherThreadMXBean - Interface in psl
Managed bean with statistics for a dispatcher thread.
DispatcherThreadOperationMXBean - Interface in psl
Managed bean with statistics for a specific operation in a dispatcher thread.
DispatcherThreadStats - Class in psl
Keeps statistics of dispatcher thread.
DispatcherThreadStats() - Constructor for class psl.DispatcherThreadStats
Creates a new statistics object.
DispatcherThreadStats(DispatcherThreadStats) - Constructor for class psl.DispatcherThreadStats
Copy constructor.

E

ExceptionHandler - Interface in psl
Handlers that is invoked when an exception is thrown in a DispatcherThread.
executions() - Method in class psl.TimingStats
Obtains the total number of executions.

G

getAverageMs() - Method in interface psl.DispatcherThreadMXBean
Obtains the average task execution time.
getAverageMs() - Method in interface psl.DispatcherThreadOperationMXBean
Obtains the average task execution time.
getExecutions() - Method in interface psl.DispatcherThreadMXBean
Obtains the number of tasks executed by the thread.
getExecutions() - Method in interface psl.DispatcherThreadOperationMXBean
Obtains the number of tasks executed by the thread.
getMaximumMs() - Method in interface psl.DispatcherThreadMXBean
Obtains the maximum task execution time.
getMaximumMs() - Method in interface psl.DispatcherThreadOperationMXBean
Obtains the maximum task execution time.
getMinimumMs() - Method in interface psl.DispatcherThreadMXBean
Obtains the minimum task execution time.
getMinimumMs() - Method in interface psl.DispatcherThreadOperationMXBean
Obtains the minimum task execution time.
getName() - Method in interface psl.DispatcherThreadFactoryMXBean
Obtains the thread factory name.
getName() - Method in interface psl.DispatcherThreadMXBean
Obtains the thread name.
getName() - Method in interface psl.DispatcherThreadOperationMXBean
Obtains the operation name.
getStarted() - Method in interface psl.DispatcherThreadMXBean
Obtains the date when the thread was started.
getStDevMs() - Method in interface psl.DispatcherThreadMXBean
Obtains the standard deviation of task execution time.
getStDevMs() - Method in interface psl.DispatcherThreadOperationMXBean
Obtains the standard deviation of task execution time.
getThreadCount() - Method in interface psl.DispatcherThreadFactoryMXBean
Obtains the thread count.
getTotalMs() - Method in interface psl.DispatcherThreadMXBean
Obtains the total task execution time.
getTotalMs() - Method in interface psl.DispatcherThreadOperationMXBean
Obtains the total task execution time.
GlobalDispatcher - Class in psl
The global dispatcher contains a global singleton instance of an AsyncDispatcher.

I

init(AsyncDispatcher) - Static method in class psl.GlobalDispatcher
Sets the given dispatcher as the global dispatcher.
instance() - Static method in class psl.GlobalDispatcher
Initializes and obtains the global instance.

L

LocalDispatcher<SUB_T> - Class in psl
The local dispatcher is the port used by subscribers to attach subscriptions.
LocalDispatcher() - Constructor for class psl.LocalDispatcher
Creates a new local dispatcher.

M

maximum() - Method in class psl.TimingStats
Obtains the slowest execution time.
minimum() - Method in class psl.TimingStats
Obtains the fastest execution time.

P

proxy() - Method in class psl.ProxyLocalDispatcher
Obtains the proxy to publish notifications to subscribers.
ProxyLocalDispatcher<SUB_T> - Class in psl
Local dispatcher that uses a proxy to make publishing easier.
ProxyLocalDispatcher(Class<SUB_T>) - Constructor for class psl.ProxyLocalDispatcher
Creates a new proxy dispatcher.
ProxyWrapperException - Exception in psl
Exception thrown to wrap a checked exception thrown by a dispatch operation when invoked from a ProxyLocalDispatcher.
ProxyWrapperException(Throwable) - Constructor for exception psl.ProxyWrapperException
Creates a new exception.
psl - package psl
 

R

remove(SUB_T) - Method in interface psl.Dispatcher
Removes a previously registered subscriber from the dispatcher.
remove(SUB_T) - Method in class psl.LocalDispatcher
 

S

shutdown() - Method in class psl.AsyncDispatcher
Shuts down the dispatcher.
shutdown() - Static method in class psl.GlobalDispatcher
Shuts down the global instance, if one is running.
started() - Method in class psl.DispatcherThreadStats
Obtains the time at which the thread was started.
stats() - Method in class psl.DispatcherThreadStats
Obtains the dispatch statistics.
stdev() - Method in class psl.TimingStats
Obtains the standard deviation of the execution time.
submit(Runnable) - Method in class psl.AsyncDispatcher
Submits a task for execution.
submit(Runnable) - Static method in class psl.GlobalDispatcher
Submits a task for execution.

T

thrown(DispatcherOp<?>, Object, Throwable, Thread) - Method in class psl.DefaultExceptionHandler
 
thrown(Runnable, Throwable, Thread) - Method in class psl.DefaultExceptionHandler
 
thrown(Throwable) - Method in class psl.DefaultExceptionHandler
 
thrown(Runnable, Throwable, Thread) - Method in interface psl.ExceptionHandler
A throwable has been thrown when running a task in a dispatcher thread.
thrown(DispatcherOp<?>, Object, Throwable, Thread) - Method in interface psl.ExceptionHandler
A throwable has been thrown when notifying a subscriber of a dispatch operation.
thrown(Throwable) - Method in interface psl.ExceptionHandler
A throwable has been thrown in some other situation (e.g., creating a thread).
TimingStats - Class in psl
Class keeping statistics of execution times.
TimingStats() - Constructor for class psl.TimingStats
Creates a new, empty, timing statistics.
TimingStats(TimingStats) - Constructor for class psl.TimingStats
Copy constructor.
total() - Method in class psl.TimingStats
Obtains the total execution time.

W

wait_clear() - Method in class psl.AsyncDispatcher
Waits until there are no more tasks to process.
wait_clear() - Static method in class psl.GlobalDispatcher
Quick access for invoking wait_clear() in GlobalDispatcher.instance().
A D E G I L M P R S T W 
Skip navigation links

Copyright © 2015. All rights reserved.