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

io.dropwizard.cassandra.ContactPoint Maven / Gradle / Ivy

Go to download

Provides easy integration for Dropwizard applications with Apache Cassandra using the DataStax 4.x client

There is a newer version: 4.0.0
Show newest version
package io.dropwizard.cassandra;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.validation.PortRange;

import javax.validation.constraints.NotNull;

public class ContactPoint {
    @NotNull
    @JsonProperty
    private String host;
    @NotNull
    @JsonProperty
    @PortRange
    private Integer port;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy