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

Alachisoft.NCache.Common.Threading.QueueChangedState Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version
package Alachisoft.NCache.Common.Threading;

import java.io.Serializable;

public class QueueChangedState implements Serializable {

    private QueueState _newState = QueueState.values()[0];
    private QueueState _oldState = QueueState.values()[0];

    public QueueChangedState(QueueState oldState, QueueState newState) {
        _oldState = oldState;
        _newState = newState;
    }

    public final QueueState getNewState() {
        return _newState;
    }

    public final void setNewState(QueueState value) {
        _newState = value;
    }

    public final QueueState getOldState() {
        return _oldState;
    }

    public final void setOldState(QueueState value) {
        _oldState = value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy