The JBrew library collection is a set of of Java & JNI utility libraries featuring native facades that precisely tune elected garbage-collection sensitive operations for downstream consumers with use-cases hindered by the Java Memory Model. The library also seeks to abstract away syntax pitfalls in concurrency through its Task framework.
Is your feature request related to a problem? Please describe.
Creating a ObjectBlockingTask or MethodBlockingTask and assigning names/priorities/other fields can get cumbersome with multiple dot statements. This problem can either be solved by having a constructor which takes in n arguments, where n is the number of fields as Task specifies. On the other hand, a Builder pattern would allow for a cleaner solution.
Describe the solution you'd like
A Builder pattern as the primary interface for a ObjectBlockingTask and MethodBlockingTask.
Is your feature request related to a problem? Please describe. Creating a ObjectBlockingTask or MethodBlockingTask and assigning names/priorities/other fields can get cumbersome with multiple dot statements. This problem can either be solved by having a constructor which takes in n arguments, where n is the number of fields as Task specifies. On the other hand, a Builder pattern would allow for a cleaner solution.
Describe the solution you'd like A Builder pattern as the primary interface for a ObjectBlockingTask and MethodBlockingTask.