public void start ( ) { if ( ( schedulerThread == null || ! schedulerThread . isAlive ( ) ) && interval > 0 ) { schedulerThread = new Thread ( this ) ; //act as internal request to be able to bind internal process // Request currentRequest = application.getCurrentRequest(); // currentRequest.startRepresentingRequest(initialRequest); // application.bindInternalProcess(schedulerThread, "scheduler"); // currentRequest.stopRepresentingRequest(); schedulerThread . start ( ) ; System . out . println ( new LogEntry ( "scheduler thread started..." ) ) ; } }
Starts scheduler thread that pages pageables .