Package org.apache.druid.server.emitter
Class LogEmitterModule
- java.lang.Object
-
- org.apache.druid.server.emitter.LogEmitterModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class LogEmitterModule extends Object implements com.google.inject.Module
-
-
Field Summary
Fields Modifier and Type Field Description static StringEMITTER_TYPE
-
Constructor Summary
Constructors Constructor Description LogEmitterModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(com.google.inject.Binder binder)org.apache.druid.java.util.emitter.core.EmittermakeEmitter(com.google.common.base.Supplier<org.apache.druid.java.util.emitter.core.LoggingEmitterConfig> config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-
-
-
Field Detail
-
EMITTER_TYPE
public static final String EMITTER_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(com.google.inject.Binder binder)
- Specified by:
configurein interfacecom.google.inject.Module
-
makeEmitter
@Provides public org.apache.druid.java.util.emitter.core.Emitter makeEmitter(com.google.common.base.Supplier<org.apache.druid.java.util.emitter.core.LoggingEmitterConfig> config, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-
-