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

com.github.lontime.extredisson.configuration.Options Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.github.lontime.extredisson.configuration;

import java.time.Duration;
import java.util.Collections;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * Redisson Options.
 * @author lontime
 * @since 1.0
 */
@Getter
@Setter
public class Options {

    public final static String FORWARD_SUFFIX = ":d";

    public final static int DEFAULT_STREAM_MAX_LEN = 20000 * 10;

    public final static Duration DEFAULT_RESPONSE_TIMEOUT = Duration.ofSeconds(120);

    /**
     * connections.
     */
    private List connections;

    /**
     * consumers.
     */
    private List consumers = Collections.emptyList();

    /**
     * special consumers.
     */
    private List services = Collections.emptyList();

    private WatchOption watch = new WatchOption();

    private RegistryOption registry;

    private Duration waitPollTimeout = Duration.ofMinutes(10);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy