All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rx.internal.schedulers.SchedulerLifecycle Maven / Gradle / Ivy

There is a newer version: 1.3.8
Show newest version
package rx.internal.schedulers;

/**
 * Represents the capability of a Scheduler to be start or shut down its maintained
 * threads.
 */
public interface SchedulerLifecycle {
    /** 
     * Allows the Scheduler instance to start threads 
     * and accept tasks on them.
     * 

Implementations should make sure the call is idempotent and threadsafe. */ void start(); /** * Instructs the Scheduler instance to stop threads * and stop accepting tasks on any outstanding Workers. *

Implementations should make sure the call is idempotent and threadsafe. */ void shutdown(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy