Package edu.wpi.grip.core.util.service
Extensions for the
Service
-
Interface Summary Interface Description RestartableService This interface defines aService
that breaks the guarantee that theService.State.FAILED
andService.State.TERMINATED
states are terminal states.ServiceRestartPolicy -
Class Summary Class Description AutoRestartingService<S extends com.google.common.util.concurrent.Service> A Restartable Service that will automatically restart itself ifCooldownRestartPolicy Allows you to define a cooldown between failures.LoggingListener A service listener that will log the service as it transitions between various different states.SingleActionListener Will run the same runnable regardless of what listener callback is being called.