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

net.spy.memcached.vbucket.config.ConfigDifference Maven / Gradle / Ivy

package net.spy.memcached.vbucket.config;

import java.util.List;

public class ConfigDifference {

    /**
     * List of server names that were added.
     */
    private List serversAdded;

    /**
     * List of server names that were removed.
     */
    private List serversRemoved;

    /**
     * Number of vbuckets that changed. -1 if the total number changed.
     */
    private int vbucketsChanges;

    /**
     * True if the sequence of servers changed.
     */
    private boolean sequenceChanged;

    public List getServersAdded() {
        return serversAdded;
    }

    protected void setServersAdded(List serversAdded) {
        this.serversAdded = serversAdded;
    }

    public List getServersRemoved() {
        return serversRemoved;
    }

    protected void setServersRemoved(List serversRemoved) {
        this.serversRemoved = serversRemoved;
    }

    public int getVbucketsChanges() {
        return vbucketsChanges;
    }

    protected void setVbucketsChanges(int vbucketsChanges) {
        this.vbucketsChanges = vbucketsChanges;
    }

    public boolean isSequenceChanged() {
        return sequenceChanged;
    }

    protected void setSequenceChanged(boolean sequenceChanged) {
        this.sequenceChanged = sequenceChanged;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy