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

com.alachisoft.ncache.client.CacheConnection Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
package com.alachisoft.ncache.client;

public class CacheConnection implements Cloneable {
    private String server;
    private int port;

    public CacheConnection(String server, int port) {
        setServer(server);
        setPort(port);
    }

    public CacheConnection(String server) {
        setServer(server);
        setPort(8250);
    }

    public String getServer() {
        return server;
    }

    private void setServer(String value) {
        server = value;
    }

    public int getPort() {
        return port;
    }

    private void setPort(int value) {
        port = value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy