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

io.elastic.sailor.EmitterCallbackFactory Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package io.elastic.sailor;


import com.google.inject.name.Named;
import io.elastic.api.EventEmitter;

public interface EmitterCallbackFactory {

    @Named(Constants.NAME_CALLBACK_DATA)
    CountingCallback createDataCallback(ExecutionContext context);

    @Named(Constants.NAME_CALLBACK_REBOUND)
    CountingCallback createReboundCallback(ExecutionContext context);

    @Named(Constants.NAME_CALLBACK_ERROR)
    CountingCallback createErrorCallback(ExecutionContext context);

    @Named(Constants.NAME_CALLBACK_SNAPSHOT)
    CountingCallback createSnapshotCallback(ExecutionContext context);

    @Named(Constants.NAME_CALLBACK_UPDATE_KEYS)
    EventEmitter.Callback createUpdateKeysCallback(ExecutionContext context);

    @Named(Constants.NAME_HTTP_REPLY_KEYS)
    EventEmitter.Callback createHttpReplyCallback(ExecutionContext context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy