import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Preconditions;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.palantir.atlasdb.keyvalue.api.TableReference;
<BUG>import com.palantir.common.concurrent.PTExecutors;
public class HeartbeatService {</BUG>
private static final Logger log = LoggerFactory.getLogger(HeartbeatService.class);
public static final String START_BEATING_ERR_MSG = "Can't start new heartbeat because there is an"
+ " existing heartbeat. Only one heartbeat per lock allowed.";

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.base.Preconditions;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.palantir.atlasdb.keyvalue.api.TableReference;
import com.palantir.common.concurrent.PTExecutors;
import com.palantir.remoting1.tracing.Tracers;
public class HeartbeatService {
private static final Logger log = LoggerFactory.getLogger(HeartbeatService.class);
public static final String START_BEATING_ERR_MSG = "Can't start new heartbeat because there is an"
+ " existing heartbeat. Only one heartbeat per lock allowed.";
