nealkumar / JBrew

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.
https://jbrew.org/
BSD 3-Clause Clear License
0 stars 0 forks source link

Build a Trie identifier for Task type #161

Open nealkumar opened 4 years ago

nealkumar commented 4 years ago

Describe the solution you'd like An "identifier" for Task<?> to determine if they are MethodBlocking, ObjectBlocking, NonRetrievable, etc. when their specific polymorphic typing has been lost, but needs to be determined.

The data structure should be a Trie that uses reflection to check if certain virtual methods exist, much like a decision tree.