Alachisoft.NCache.Common.Threading.QueueChangedState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
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;
}
}