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

com.sportradar.livedata.sdk.common.settings.CommonSettings Maven / Gradle / Ivy

Go to download

Livedata SDK is a client library that enables easier integration with the Livedata XML feed. SDK exposes XML feed service interface in a more user-friendly way and isolates the client from having to do XML feed parsing, proper connection handling, error recovery, event queuing and dispatching. It also makes a client solution more stable and robust when it comes to feed handling, especially with the release of new and updated XML feed versions.

There is a newer version: 2.0.10
Show newest version
package com.sportradar.livedata.sdk.common.settings;

public abstract class CommonSettings {

    protected int dispatcherThreadCount;
    protected int dispatcherQueueSize;
    protected boolean enabled;
    protected LoggerSettings loggerSettings;
    protected boolean debugMode;

    protected CommonSettings(boolean enabled,
                             int dispatcherThreadCount,
                             int dispatcherQueueSize,
                             LoggerSettings loggerSettings,
                             boolean debugMode) {
        this.enabled = enabled;
        this.dispatcherThreadCount = dispatcherThreadCount;
        this.dispatcherQueueSize = dispatcherQueueSize;
        this.loggerSettings = loggerSettings;
        this.debugMode = debugMode;

    }

    public boolean isDebugMode() {
        return debugMode;
    }

    public int getDispatcherThreadCount() {
        return dispatcherThreadCount;
    }

    public int getDispatcherQueueSize() {
        return dispatcherQueueSize;
    }

    public LoggerSettings getLoggerSettings() {
        return loggerSettings;
    }

    public boolean isEnabled() {
        return enabled;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy