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

com.sportradar.livedata.sdk.common.settings.JmxSettingsBuilder 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 class JmxSettingsBuilder {

    protected String jmxHost;
    protected int jmxPort;
    protected String passwordFile;
    protected String accessFile;
    protected boolean enabled;

    public JmxSettings build() {
        return new JmxSettings(enabled, jmxHost, jmxPort, passwordFile, accessFile);
    }

    public String getJmxHost() {
        return jmxHost;
    }

    public int getJmxPort() {
        return jmxPort;
    }

    public String getPasswordFile() {
        return passwordFile;
    }

    public String getAccessFile() {
        return accessFile;
    }

    public JmxSettingsBuilder setJmxHost(String jmxHost) {
        this.jmxHost = jmxHost;
        return this;
    }

    public JmxSettingsBuilder setJmxPort(int jmxPort) {
        this.jmxPort = jmxPort;
        return this;
    }

    public JmxSettingsBuilder setPasswordFile(String passwordFile) {
        this.passwordFile = passwordFile;
        return this;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public JmxSettingsBuilder setEnabled(boolean enabled) {
        this.enabled = enabled;
        return this;
    }

    public JmxSettingsBuilder setAccessFile(String accessFile) {
        this.accessFile = accessFile;
        return this;

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy