make queryIDProvider a singleton

This commit is contained in:
nishantmonu51 2014-02-28 12:19:07 +05:30
parent 37a79dd4cb
commit e54949ca98
1 changed files with 2 additions and 0 deletions

View File

@ -20,12 +20,14 @@
package io.druid.server;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import io.druid.guice.annotations.Self;
import io.druid.query.Query;
import org.joda.time.DateTime;
import java.util.concurrent.atomic.AtomicLong;
@Singleton
public class QueryIDProvider
{
private final String host;