All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.vespa.schemals.context.EventContext Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
package ai.vespa.schemals.context;

import java.io.PrintStream;

import ai.vespa.schemals.SchemaMessageHandler;
import ai.vespa.schemals.common.ClientLogger;
import ai.vespa.schemals.index.SchemaIndex;
import ai.vespa.schemals.schemadocument.SchemaDocumentScheduler;

/**
 * EventContext
 */
public class EventContext {
    public final ClientLogger logger;
    public final SchemaIndex schemaIndex;
    public final SchemaMessageHandler messageHandler;
    public final SchemaDocumentScheduler scheduler;

    public EventContext(
        SchemaDocumentScheduler scheduler,
        SchemaIndex schemaIndex,
        SchemaMessageHandler messageHandler
    ) {
		this.scheduler = scheduler;
		this.schemaIndex = schemaIndex;
		this.messageHandler = messageHandler;
		this.logger = new ClientLogger(messageHandler);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy