src/main/java/com/machinezoo/pushmode/PageExecutor.java
@Override
	public synchronized void execute(Runnable runnable) {
		Objects.requireNonNull(runnable);
		queue.add(runnable);
		schedule();
	}
/**
	 * Schedules {@link Runnable} on this {@link PageExecutor}.
	 * The supplied {@link Runnable} will run in page's event loop.
	 * If the {@link Runnable} throws an exception, page's event loop will stop and browser connection will be terminated.
	 * 
	 * @param runnable
	 *            {@link Runnable} to schedule.
	 * @x.threads This method is safe to call from any thread.
	 *            The supplied {@link Runnable} will run in the event loop, which means it doesn't need to synchronize access with other events in the same event loop.
	 * @see PageExecutor#submit(Runnable)
	 */
Schedules  Runnable on this  PageExecutor.
The supplied  Runnable will run in page's event loop.
If the  Runnable throws an exception, page's event loop will stop and browser connection will be terminated.

@param runnable
Runnable to schedule.
@x.threads This method is safe to call from any thread.
The supplied  Runnable will run in the event loop, which means it doesn't need to synchronize access with other events in the same event loop.
Schedules Runnable on this PageExecutor . The supplied Runnable will run in page ' s event loop . If the Runnable throws an exception page ' s event loop will stop and browser connection will be terminated . @param runnable Runnable to schedule . @x . threads This method is safe to call from any thread . The supplied Runnable will run in the event loop which means it doesn ' t need to synchronize access with other events in the same event loop .
@Override
	public synchronized void execute(Runnable runnable) {
		Objects.requireNonNull(runnable);
		queue.add(runnable);
		schedule();
	}
@ Override public synchronized void execute ( Runnable runnable ) { Objects . requireNonNull ( runnable ) ; queue . add ( runnable ) ; schedule ( ) ; }
Schedules {@link Runnable} on this {@link PageExecutor}.
Schedules { @link Runnable } on this { @link PageExecutor } .