Home
Name Modified Size InfoDownloads / Week
README.md 2022-08-25 3.5 kB
parallax-0.0.1-SNAPSHOT.jar 2022-08-25 26.9 kB
Totals: 2 Items   30.4 kB 0

parallax

a new way to create parallel projects

this project is destined to create a parallel project in a way more simple.

to start a parallax you need to invoke the static method startApplication, they receive a Log interface whos represents the system log, and max threads to be used, if max thread will be set lower to 0 the framework will assume unlimited threads.

image

to finalize the application you need to request the parallax instance and call quit method, the only whay to get the instance is requiring in triggerable class;

image

a new register is possible too, you just need to call register in parallax instance

image

calling the trigger method you will trigger an object o anothers class, they just need the object, the type of clone, and who will receives, if the toClass is a empty array all classes will receive the object

image

the 'Entry' annotation is the start up of application , this will trigger all methods in class when the application starts image

the 'cloneType' define who type of clone, the framework will use, can be Shallow,Deep,None the default clone type is Deep

image

Singleton annotation creates a singleton instance of the class, when the instance is requisite, the instance is singleton to a specific class not to all classes

image

the exceptions are treated in the same way of the remainder application

image

the parallax not compare the classes, but yes the instance.

image

when fields of a class is completely populed automaticaly the framwork will trigger the specifyed methods.

image

fields with no 'Required' annotation is invisible to fremework

image

you can specify who will receive and who you receive

image

the 'async' flag when false make a execution of method sync blocking start of another methods in this class until this method be finished

image

classes with no fields are called aways creating a loop;

image

diagrama

https://sourceforge.net/projects/parallax/

Source: README.md, updated 2022-08-25