class TaskEvictionResultStoreStep {

    public void storeTaskEvictionResults(Map<String, TaskRelocationStatus> taskEvictionResults) {
        Stopwatch stopwatch = Stopwatch.createStarted();
        try {
            int updates = execute(taskEvictionResults);
            metrics.onSuccess(updates, stopwatch.elapsed(TimeUnit.MILLISECONDS));
        } catch (Exception e) {
            logger.error("Step processing error", e);
            metrics.onError(stopwatch.elapsed(TimeUnit.MILLISECONDS));
            throw e;
        }
    }

    public  TaskEvictionResultStoreStep(RelocationConfiguration configuration,
                                       TaskRelocationResultStore store,
                                       RelocationTransactionLogger transactionLog,
                                       TitusRuntime titusRuntime);

}