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

io.deepsense.neptune.clientlibrary.config.internal.ChannelValueSendingThreadConfiguration Maven / Gradle / Ivy

There is a newer version: 1.6.1
Show newest version
/**
 * Copyright (c) 2016, CodiLime Inc.
 */

package io.deepsense.neptune.clientlibrary.config.internal;

import java.util.Objects;

public class ChannelValueSendingThreadConfiguration {

    private final int sendRequestsQueueSize;

    public ChannelValueSendingThreadConfiguration(int sendRequestsQueueSize) {
        this.sendRequestsQueueSize = sendRequestsQueueSize;
    }

    public int getSendRequestsQueueSize() {
        return sendRequestsQueueSize;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        ChannelValueSendingThreadConfiguration that = (ChannelValueSendingThreadConfiguration) o;
        return sendRequestsQueueSize == that.sendRequestsQueueSize;
    }

    @Override
    public int hashCode() {
        return Objects.hash(sendRequestsQueueSize);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy