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

org.nustaq.kontraktor.services.RegistryArgs Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package org.nustaq.kontraktor.services;

import com.beust.jcommander.Parameter;
import org.nustaq.kontraktor.services.rlclient.DataShardArgs;

import java.util.function.Supplier;

public class RegistryArgs extends ServiceArgs {

    public static Supplier factory = () -> new RegistryArgs();
    public static RegistryArgs New() {
        return factory.get();
    }


    @Parameter(names = {"-dumpServices"}, help=true, description = "log services in console cyclically")
    private boolean dumpServices = false;

    protected RegistryArgs() {
        super();
    }

    public boolean dumpServices() {
        return dumpServices;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy