
com.redis.spring.batch.common.KeyComparison Maven / Gradle / Ivy
The newest version!
package com.redis.spring.batch.common;
public class KeyComparison {
public enum Status {
OK, // No difference
MISSING, // Key missing in target database
TYPE, // Type mismatch
TTL, // TTL mismatch
VALUE // Value mismatch
}
private KeyValue source;
private KeyValue target;
private Status status;
public KeyValue getSource() {
return source;
}
public void setSource(KeyValue source) {
this.source = source;
}
public KeyValue getTarget() {
return target;
}
public void setTarget(KeyValue target) {
this.target = target;
}
public Status getStatus() {
return status;
}
public void setStatus(Status status) {
this.status = status;
}
@Override
public String toString() {
return "KeyComparison [source=" + source + ", target=" + target + ", status=" + status + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy