com.moilioncircle.redis.replicator.cmd.impl.GEO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redis-replicator Show documentation
Show all versions of redis-replicator Show documentation
Redis Replicator implement Redis Replication protocol written in java.
It can parse,filter,broadcast the RDB and AOF events in a real time manner.
It also can synchronize redis data to your local cache or to database.
package com.moilioncircle.redis.replicator.cmd.impl;
import java.io.Serializable;
/**
* Created by leon on 8/20/16.
*/
public class GEO implements Serializable {
public final String member;
public final double longitude;
public final double latitude;
public GEO(String member, double longitude, double latitude) {
this.member = member;
this.longitude = longitude;
this.latitude = latitude;
}
@Override
public String toString() {
return "GEO{" +
"member='" + member + '\'' +
", longitude=" + longitude +
", latitude=" + latitude +
'}';
}
}