A D E G I N P R S Z 

A

addTask(Runnable) - Method in class pns.alltypes.tasks.DelayedTaskQueue
Adds the task for delayed execution
afterExecute(Runnable, Throwable) - Method in class pns.alltypes.tasks.ZeroRejectionThreadPoolExecutor
 
AllAppTypesThreadFactory - Class in pns.alltypes.thread.factory
A thread factory for all
AllAppTypesThreadFactory(String) - Constructor for class pns.alltypes.thread.factory.AllAppTypesThreadFactory
 
AllTypesAppThread - Class in pns.alltypes.thread.factory
Creation of thread logged as in the book "Best practices in Concurrency"
AllTypesAppThread(Runnable) - Constructor for class pns.alltypes.thread.factory.AllTypesAppThread
 
AllTypesAppThread(Runnable, String) - Constructor for class pns.alltypes.thread.factory.AllTypesAppThread
 

D

DEFAULT_NAME - Static variable in class pns.alltypes.thread.factory.AllTypesAppThread
 
DelayedTaskQueue - Class in pns.alltypes.tasks
A task queue with a single thread which allows to do the task with simple wait with timeout.
DelayedTaskQueue(int, String, String, int) - Constructor for class pns.alltypes.tasks.DelayedTaskQueue
Instantiates a new delayed task queue.

E

execute(Runnable) - Method in class pns.alltypes.tasks.ZeroRejectionThreadPoolExecutor
 

G

getThreadsAlive() - Static method in class pns.alltypes.thread.factory.AllTypesAppThread
 
getThreadsCreated() - Static method in class pns.alltypes.thread.factory.AllTypesAppThread
 

I

init() - Method in class pns.alltypes.tasks.DelayedTaskQueue
Inits the

N

newThread(Runnable) - Method in class pns.alltypes.thread.factory.AllAppTypesThreadFactory
 

P

pns.alltypes.tasks - package pns.alltypes.tasks
 
pns.alltypes.thread.factory - package pns.alltypes.thread.factory
 

R

run() - Method in class pns.alltypes.thread.factory.AllTypesAppThread
 

S

shutdown() - Method in class pns.alltypes.tasks.DelayedTaskQueue
Shutdown the thread

Z

ZeroRejectionThreadPoolExecutor - Class in pns.alltypes.tasks
This class aims at blocking the caller who submits the job based on the fact there is no avialable threads to execute This helps in implementing a backoff algorithm.
ZeroRejectionThreadPoolExecutor(int, int, long, TimeUnit, SynchronousQueue<Runnable>, AllAppTypesThreadFactory) - Constructor for class pns.alltypes.tasks.ZeroRejectionThreadPoolExecutor
 
A D E G I N P R S Z 

Copyright © 2015. All rights reserved.