io.craft.atom.redis.api.ScanResult Maven / Gradle / Ivy
package io.craft.atom.redis.api;
import java.util.List;
import lombok.Getter;
import lombok.ToString;
/**
* Redis SCAN SSCAN HSCAN ZSCAN command return result object.
*
* @author mindwind
* @version 1.0, Apr 23, 2014
*/
@ToString
public class ScanResult {
@Getter private String cursor ;
@Getter private List elements;
public ScanResult(String cursor, List elements) {
this.cursor = cursor ;
this.elements = elements;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy