All Downloads are FREE. Search and download functionalities are using the official Maven repository.

atories.java-extensions.2.0.1.0-RELEASE.source-code.promise-configuration.properties Maven / Gradle / Ivy

Go to download

This is a library of Java utilities to help programming with lambda just that a little bit more joyful, particularly for Java-8 developers but not exclusively.

The newest version!
# Configuration properties for Promise objects.
#
# If this file contains invalid values, they will be ignored and system
# defaults will then apply.
#
# Ensure this file is available on the application classpath. Alternatively,
# provide these properties via the VM arguments using the -D parameter,
# but note they will override property values in this file. For clarity,
# property value priority is as follows:
#          system property --> file property --> hardcoded default
#

# This is the classname of the thread pool, which happens to be
# the same as the system default. For an alternative implementation, configure
# the classname in this property.
#
# The custom thread pool must inherit from the ManagedPromisePoolExecutor
# class.
promise.managed.service.class=org.javalaboratories.core.concurrency.ManagedThreadPoolPromiseExecutor

# Configure the number of maximum active thread workers in this property. -1
# informs the PromiseConfiguration object to calculate the number of required
# workers, which normally equates to the number of the logical processor
# cores.
promise.managed.service.capacity=-1




© 2015 - 2024 Weber Informatics LLC | Privacy Policy