Schema simulation of a typical operating system's processor scheduling in Java.