import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;
import static org.fusesource.insight.graph.es.ElasticSender.quote;
public class ElasticSearchOutputWriter extends BaseOutputWriter implements OutputWriter, ServiceTrackerCustomizer<Node, Node> {
<BUG>static final private AtomicLong SEQUENCE_COUNTER = new AtomicLong(System.currentTimeMillis()*1000);</BUG>
private BundleContext bundleContext;
private ServiceTracker<Node, Node> tracker;
private String index;
private String type;
private ElasticSender sender;
<BUG>private final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
public ElasticSearchOutputWriter() {</BUG>
this.sender = new ElasticSender();

import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicLong;
import static org.fusesource.insight.graph.es.ElasticSender.quote;
public class ElasticSearchOutputWriter extends BaseOutputWriter implements OutputWriter, ServiceTrackerCustomizer<Node, Node> {
private BundleContext bundleContext;
private ServiceTracker<Node, Node> tracker;
private String index;
private String type;
private ElasticSender sender;
private final SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
private SimpleDateFormat indexFormat = new SimpleDateFormat("yyyy.MM.dd");
public ElasticSearchOutputWriter() {
this.sender = new ElasticSender();
