package com.zendesk.maxwell.util; import java.util.concurrent.TimeoutException; public interface StoppableTask { void requestStop(); void awaitStop(Long timeout) throws TimeoutException; }