Name | Modified | Size | Downloads / 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.
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;
a new register is possible too, you just need to call register in parallax instance
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
the 'Entry' annotation is the start up of application , this will trigger all methods in class when the application starts
the 'cloneType' define who type of clone, the framework will use, can be Shallow,Deep,None the default clone type is Deep
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
the exceptions are treated in the same way of the remainder application
the parallax not compare the classes, but yes the instance.
when fields of a class is completely populed automaticaly the framwork will trigger the specifyed methods.
fields with no 'Required' annotation is invisible to fremework
you can specify who will receive and who you receive
the 'async' flag when false make a execution of method sync blocking start of another methods in this class until this method be finished
classes with no fields are called aways creating a loop;