@Inject public CuratorDruidNodeDiscoveryProvider( CuratorFramework curatorFramework, ZkPathsConfig config, @Json ObjectMapper jsonMapper ) { this.curatorFramework = curatorFramework; this.config = config; this.jsonMapper = jsonMapper; }
@Inject public CuratorDruidNodeAnnouncer( Announcer announcer, ZkPathsConfig config, @Json ObjectMapper jsonMapper ) { this.announcer = announcer; this.config = config; this.jsonMapper = jsonMapper; }
@Inject public DefaultGenericQueryMetricsFactory(@Json ObjectMapper jsonMapper) { this.jsonMapper = jsonMapper; }
@Inject public DefaultTimeseriesQueryMetricsFactory(@Json ObjectMapper jsonMapper) { this.jsonMapper = jsonMapper; }
@Inject public S3DataSegmentArchiver( @Json ObjectMapper mapper, RestS3Service s3Client, S3DataSegmentArchiverConfig archiveConfig, S3DataSegmentPusherConfig restoreConfig ) { super(s3Client, restoreConfig); this.mapper = mapper; this.archiveConfig = archiveConfig; this.restoreConfig = restoreConfig; }
@Inject public EC2AutoScalingStrategy( @Json ObjectMapper jsonMapper, AmazonEC2 amazonEC2Client, SimpleResourceManagementConfig config, Supplier<WorkerSetupData> workerSetupDataRef ) { this.jsonMapper = jsonMapper; this.amazonEC2Client = amazonEC2Client; this.config = config; this.workerSetupDataRef = workerSetupDataRef; }
@Inject public DefaultTopNQueryMetricsFactory(@Json ObjectMapper jsonMapper) { this.jsonMapper = jsonMapper; }
@Inject public DefaultGroupByQueryMetricsFactory(@Json ObjectMapper jsonMapper) { this.jsonMapper = jsonMapper; }
@Inject public SQLAuditManagerProvider( Supplier<MetadataStorageTablesConfig> dbTables, SQLMetadataConnector connector, Lifecycle lifecycle, ServiceEmitter emitter, @Json ObjectMapper mapper, SQLAuditManagerConfig config ) { this.dbTables = dbTables; this.connector = connector; this.lifecycle = lifecycle; this.emitter = emitter; this.mapper = mapper; this.config = config; }
@Inject public CoordinatorRuleManager( @Json ObjectMapper jsonMapper, Supplier<TieredBrokerConfig> config, DruidLeaderClient druidLeaderClient ) { this.jsonMapper = jsonMapper; this.config = config; this.druidLeaderClient = druidLeaderClient; this.rules = new AtomicReference<>( new ConcurrentHashMap<String, List<Rule>>() ); }
@Inject public DatabaseRuleManager( @Json ObjectMapper jsonMapper, Supplier<DatabaseRuleManagerConfig> config, Supplier<DbTablesConfig> dbTables, IDBI dbi ) { this.jsonMapper = jsonMapper; this.config = config; this.dbTables = dbTables; this.dbi = dbi; this.rules = new AtomicReference<ConcurrentHashMap<String, List<Rule>>>( new ConcurrentHashMap<String, List<Rule>>() ); }
public ListenerResource( final @Json ObjectMapper jsonMapper, final @Smile ObjectMapper smileMapper, final ListenerHandler handler ) { this.jsonMapper = Preconditions.checkNotNull(jsonMapper, "jsonMapper"); this.smileMapper = Preconditions.checkNotNull(smileMapper, "smileMapper"); this.handler = Preconditions.checkNotNull(handler, "listener handler"); }
@Inject public SQLMetadataSupervisorManager( @Json ObjectMapper jsonMapper, SQLMetadataConnector connector, Supplier<MetadataStorageTablesConfig> dbTables ) { this.jsonMapper = jsonMapper; this.connector = connector; this.dbTables = dbTables; this.dbi = connector.getDBI(); }
@Inject public LookupCoordinatorResource( final LookupCoordinatorManager lookupCoordinatorManager, final @Smile ObjectMapper smileMapper, final @Json ObjectMapper jsonMapper ) { this.smileMapper = smileMapper; this.jsonMapper = jsonMapper; this.lookupCoordinatorManager = lookupCoordinatorManager; }
@Inject public KafkaIndexTaskClientFactory( @EscalatedGlobal HttpClient httpClient, @Json ObjectMapper mapper ) { this.httpClient = httpClient; this.mapper = mapper; }
@Inject public SegmentListerResource( @Json ObjectMapper jsonMapper, @Smile ObjectMapper smileMapper, @Nullable BatchDataSegmentAnnouncer announcer, @Nullable SegmentLoadDropHandler loadDropRequestHandler ) { this.jsonMapper = jsonMapper; this.smileMapper = smileMapper; this.announcer = announcer; this.loadDropRequestHandler = loadDropRequestHandler; }
@JsonCreator public GalaxyEC2UserData( @JacksonInject @Json ObjectMapper jsonMapper, @JsonProperty("env") String env, @JsonProperty("version") String version, @JsonProperty("type") String type ) { this.jsonMapper = jsonMapper; this.env = env; this.version = version; this.type = type; }
public AsyncQueryForwardingServlet( @Json ObjectMapper jsonMapper, @Smile ObjectMapper smileMapper, QueryHostFinder hostFinder, RoutingDruidClient routingDruidClient, ServiceEmitter emitter, RequestLogger requestLogger ) { this.jsonMapper = jsonMapper; this.smileMapper = smileMapper; this.hostFinder = hostFinder; this.routingDruidClient = routingDruidClient; this.emitter = emitter; this.requestLogger = requestLogger; }
@Inject public SQLAuditManager( SQLMetadataConnector connector, Supplier<MetadataStorageTablesConfig> dbTables, ServiceEmitter emitter, @Json ObjectMapper jsonMapper, SQLAuditManagerConfig config ) { this.dbi = connector.getDBI(); this.dbTables = dbTables; this.emitter = emitter; this.jsonMapper = jsonMapper; this.config = config; }
@Provides @LazySingleton public Task readTask(@Json ObjectMapper mapper, ExecutorLifecycleConfig config) { try { return mapper.readValue(config.getTaskFile(), Task.class); } catch (IOException e) { throw Throwables.propagate(e); } }