public interface UnpublishedHandling
DataPublishers implementing this interface will cause Gobblin to call handleUnpublishedWorkUnits(java.util.Collection<? extends org.apache.gobblin.configuration.WorkUnitState>) if
it determines the job will not be published. This allows the publisher to run actions on partially successful jobs
(e.g. recovery, notification, etc.).| Modifier and Type | Method and Description |
|---|---|
void |
handleUnpublishedWorkUnits(Collection<? extends WorkUnitState> states)
This method will be called by Gobblin if it determines that a job should not be published.
|
void handleUnpublishedWorkUnits(Collection<? extends WorkUnitState> states) throws IOException
states - List of WorkUnitStates in the job.IOException