A B C D E F G H I L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
D
- DEFAULT_CAPACITY - Static variable in class com.github.javinator9889.threading.threads.notifyingthread.NotifyingThread
-
Default capacity of subscribed classes - normally, we only want one class to get notified when a thread completes.
- DEFAULT_CAPACITY - Static variable in class com.github.javinator9889.utils.ArgumentParser
-
Default capacity of the HashMap object containing values - based on an analysis of typical consumption of applications.
- DEFAULT_CORE_THREADS - Static variable in class com.github.javinator9889.threading.pools.ThreadsPooling
-
The default number of threads that should be running concurrently - if needed, it can be automatically increased for filling maximum threads.
- DEFAULT_KEEP_ALIVE - Static variable in class com.github.javinator9889.threading.pools.ThreadsPooling
-
The default keep alive time - when the number of threads is higher than the core threads, this is the time that idle threads will wait for new tasks before terminating.
- DEFAULT_LOAD_FACTOR - Static variable in class com.github.javinator9889.utils.ArgumentParser
-
Default load factor for HashMap - when there is no capacity specified, a better performance is obtained by setting it up to 0.75 as it is a good approximation to
log(2)
, so its capacity increases when the 75% of theHashTable
is filled. - DEFAULT_MAX_THREADS - Static variable in class com.github.javinator9889.threading.pools.ThreadsPooling
-
The default maximum number of threads that can be concurrently running - this amount is only reached when there is a heavy load of pending threads.
- DEFAULT_QUEUE_CAPACITY - Static variable in class com.github.javinator9889.threading.pools.ThreadsPooling
-
The default starting queue capacity - if you know how much process you are going to run concurrently, it is better to define the queue capacity.
- DEFAULT_REJECTED_EXECUTION_HANDLER - Static variable in class com.github.javinator9889.threading.pools.ThreadsPooling
-
The default rejected execution handler - it throws an exception (
NoRejectedExecutionHandler
) with all useful information obtained from the thread and the executor. - DEFAULT_TIME_UNIT - Static variable in class com.github.javinator9889.threading.pools.ThreadsPooling
-
The default time unit for the keep alive time.
- DefaultRejectedExecutionHandler - Class in com.github.javinator9889.threading.pools.rejectedhandlers
-
Default rejected execution handler that always throws
NoRejectedHandlerError
, with a message containing useful information: Queue size for explaining why it has been rejected. - DefaultRejectedExecutionHandler() - Constructor for class com.github.javinator9889.threading.pools.rejectedhandlers.DefaultRejectedExecutionHandler
All Classes All Packages