
ru.progrm_jarvis.javacommons.service.ManagedPendingService Maven / Gradle / Ivy
package ru.progrm_jarvis.javacommons.service;
/**
* A managed {@link PendingService pending service}.
*
* @param type of owner of the service
* @param type of service owned while pending
* @param type of value passed to hooks indicating that the service's pending has ended (the service became ready)
*/
public interface ManagedPendingService extends PendingService {
/**
* Marks this service as ready for starting.
*/
void ready();
/**
* Checks if this service has been successfully started.
*
* @return {@code true} if this service has been successfully started and {@code false} otherwise
*/
boolean isSafelyStarted();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy