JedisSentinel implements JedisCommands { @Override public List<GeoCoordinate> geopos(String key, String... members) { try (Jedis jedis = jedisPool.getResource()) { return jedis.geopos(key, members); } } JedisSentinel(JedisPoolAbstract jedisPool); @Override String set(String key, String value); @Override String set(String key, String value, SetParams params); @Override String get(String key); @Override Boolean exists(String key); @Override Long persist(String key); @Override String type(String key); @Override byte[] dump(String key); @Override String restore(String key, int ttl, byte[] serializedValue); @Override String restoreReplace(String key, int ttl, byte[] serializedValue); @Override Long expire(String key, int seconds); @Override Long pexpire(String key, long milliseconds); @Override Long expireAt(String key, long unixTime); @Override Long pexpireAt(String key, long millisecondsTimestamp); @Override Long ttl(String key); @Override Long pttl(String key); @Override Long touch(String key); @Override Boolean setbit(String key, long offset, boolean value); @Override Boolean setbit(String key, long offset, String value); @Override Boolean getbit(String key, long offset); @Override Long setrange(String key, long offset, String value); @Override String getrange(String key, long startOffset, long endOffset); @Override String getSet(String key, String value); @Override Long setnx(String key, String value); @Override String setex(String key, int seconds, String value); @Override String psetex(String key, long milliseconds, String value); @Override Long decrBy(String key, long integer); @Override Long decr(String key); @Override Long incrBy(String key, long integer); @Override Double incrByFloat(String key, double value); @Override Long incr(String key); @Override Long append(String key, String value); @Override String substr(String key, int start, int end); @Override Long hset(String key, String field, String value); @Override Long hset(String key, Map<String, String> hash); @Override String hget(String key, String field); @Override Long hsetnx(String key, String field, String value); @Override String hmset(String key, Map<String, String> hash); @Override List<String> hmget(String key, String... fields); @Override Long hincrBy(String key, String field, long value); @Override Double hincrByFloat(String key, String field, double value); @Override Boolean hexists(String key, String field); @Override Long hdel(String key, String... field); @Override Long hlen(String key); @Override Set<String> hkeys(String key); @Override List<String> hvals(String key); @Override Map<String, String> hgetAll(String key); @Override Long rpush(String key, String... string); @Override Long lpush(String key, String... string); @Override Long llen(String key); @Override List<String> lrange(String key, long start, long end); @Override String ltrim(String key, long start, long end); @Override String lindex(String key, long index); @Override String lset(String key, long index, String value); @Override Long lrem(String key, long count, String value); @Override String lpop(String key); @Override String rpop(String key); @Override Long sadd(String key, String... member); @Override Set<String> smembers(String key); @Override Long srem(String key, String... member); @Override String spop(String key); @Override Set<String> spop(String key, long count); @Override Long scard(String key); @Override Boolean sismember(String key, String member); @Override String srandmember(String key); @Override List<String> srandmember(String key, int count); @Override Long strlen(String key); @Override Long zadd(String key, double score, String member); @Override Long zadd(String key, double score, String member, ZAddParams params); @Override Long zadd(String key, Map<String, Double> scoreMembers); @Override Long zadd(String key, Map<String, Double> scoreMembers, ZAddParams params); @Override Set<String> zrange(String key, long start, long end); @Override Long zrem(String key, String... member); @Override Double zincrby(String key, double score, String member); @Override Double zincrby(String key, double score, String member, ZIncrByParams params); @Override Long zrank(String key, String member); @Override Long zrevrank(String key, String member); @Override Set<String> zrevrange(String key, long start, long end); @Override Set<Tuple> zrangeWithScores(String key, long start, long end); @Override Set<Tuple> zrevrangeWithScores(String key, long start, long end); @Override Long zcard(String key); @Override Double zscore(String key, String member); @Override List<String> sort(String key); @Override List<String> sort(String key, SortingParams sortingParameters); @Override Long zcount(String key, double min, double max); @Override Long zcount(String key, String min, String max); @Override Set<String> zrangeByScore(String key, double min, double max); @Override Set<String> zrangeByScore(String key, String min, String max); @Override Set<String> zrevrangeByScore(String key, double max, double min); @Override Set<String> zrangeByScore(String key, double min, double max, int offset, int count); @Override Set<String> zrevrangeByScore(String key, String max, String min); @Override Set<String> zrangeByScore(String key, String min, String max, int offset, int count); @Override Set<String> zrevrangeByScore(String key, double max, double min, int offset, int count); @Override Set<Tuple> zrangeByScoreWithScores(String key, double min, double max); @Override Set<Tuple> zrevrangeByScoreWithScores(String key, double max, double min); @Override Set<Tuple> zrangeByScoreWithScores(String key, double min, double max, int offset, int count); @Override Set<String> zrevrangeByScore(String key, String max, String min, int offset, int count); @Override Set<Tuple> zrangeByScoreWithScores(String key, String min, String max); @Override Set<Tuple> zrevrangeByScoreWithScores(String key, String max, String min); @Override Set<Tuple> zrangeByScoreWithScores(String key, String min, String max, int offset, int count); @Override Set<Tuple> zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count); @Override Set<Tuple> zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count); @Override Long zremrangeByRank(String key, long start, long end); @Override Long zremrangeByScore(String key, double start, double end); @Override Long zremrangeByScore(String key, String start, String end); @Override Long zlexcount(String key, String min, String max); @Override Set<String> zrangeByLex(String key, String min, String max); @Override Set<String> zrangeByLex(String key, String min, String max, int offset, int count); @Override Set<String> zrevrangeByLex(String key, String max, String min); @Override Set<String> zrevrangeByLex(String key, String max, String min, int offset, int count); @Override Long zremrangeByLex(String key, String min, String max); @Override Long linsert(String key, ListPosition where, String pivot, String value); @Override Long lpushx(String key, String... string); @Override Long rpushx(String key, String... string); @Override List<String> blpop(int timeout, String key); @Override List<String> brpop(int timeout, String key); @Override Long del(String key); @Override Long unlink(String key); @Override String echo(String string); @Override Long move(String key, int dbIndex); @Override Long bitcount(String key); @Override Long bitcount(String key, long start, long end); @Override Long bitpos(String key, boolean value); @Override Long bitpos(String key, boolean value, BitPosParams params); @Override ScanResult<Entry<String, String>> hscan(String key, String cursor); @Override ScanResult<Entry<String, String>> hscan(String key, String cursor, ScanParams params); @Override ScanResult<String> sscan(String key, String cursor); @Override ScanResult<String> sscan(String key, String cursor, ScanParams params); @Override ScanResult<Tuple> zscan(String key, String cursor); @Override ScanResult<Tuple> zscan(String key, String cursor, ScanParams params); @Override Long pfadd(String key, String... elements); @Override long pfcount(String key); @Override Long geoadd(String key, double longitude, double latitude, String member); @Override Long geoadd(String key, Map<String, GeoCoordinate> memberCoordinateMap); @Override Double geodist(String key, String member1, String member2); @Override Double geodist(String key, String member1, String member2, GeoUnit unit); @Override List<String> geohash(String key, String... members); @Override List<GeoCoordinate> geopos(String key, String... members); @Override List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius,
                                             GeoUnit unit); @Override List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius,
                                                     GeoUnit unit); @Override List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit,
                                             GeoRadiusParam param); @Override List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius,
                                                     GeoUnit unit, GeoRadiusParam param); @Override List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit); @Override List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit); @Override List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit,
                                                     GeoRadiusParam param); @Override List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit,
                                                             GeoRadiusParam param); @Override List<Long> bitfield(String key, String... arguments); @Override Long hstrlen(String key, String field);  }
@Test public void testGeopos() { jedisSentinel.geopos("key", "members"); }