// Path: src/main/java/de/idealo/mongodb/slowops/collector/Terminable.java
// public interface Terminable {
// 
//     void terminate();
//     long getDoneJobs();
// }


import de.idealo.mongodb.slowops.collector.Terminable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.Callable;
package de.idealo.mongodb.slowops.util;




public class Terminator implements Callable<Long> {

    private static final Logger LOG = LoggerFactory.getLogger(Terminator.class);

    private final Terminable terminable;

    public Terminator(Terminable terminable) {
        this.terminable = terminable;
    }

    @Override
    public Long call() throws Exception {
// Path: src/main/java/de/idealo/mongodb/slowops/collector/Terminable.java
// public interface Terminable {
// 
//     void terminate();
//     long getDoneJobs();
// }


// Path: src/main/java/de/idealo/mongodb/slowops/util/Terminator.java
import de.idealo.mongodb.slowops.collector.Terminable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.concurrent.Callable;

package de.idealo.mongodb.slowops.util;




public class Terminator implements Callable<Long> {

    private static final Logger LOG = LoggerFactory.getLogger(Terminator.class);

    private final Terminable terminable;

    public Terminator(Terminable terminable) {
        this.terminable = terminable;
    }

    @Override
    public Long call() throws Exception {
        LOG.debug("terminate called");