V - valuepublic class RedissonGeo<V> extends RedissonScoredSortedSet<V> implements RGeo<V>
RScoredSortedSet.Aggregatecodec, commandExecutor| Constructor and Description |
|---|
RedissonGeo(Codec codec,
CommandAsyncExecutor connectionManager,
String name,
RedissonClient redisson) |
RedissonGeo(CommandAsyncExecutor connectionManager,
String name,
RedissonClient redisson) |
| Modifier and Type | Method and Description |
|---|---|
long |
add(double longitude,
double latitude,
V member)
Adds geospatial member.
|
long |
add(GeoEntry... entries)
Adds geospatial members.
|
RFuture<Long> |
addAsync(double longitude,
double latitude,
V member)
Adds geospatial member.
|
RFuture<Long> |
addAsync(GeoEntry... entries)
Adds geospatial members.
|
boolean |
clearExpire()
Clear an expire timeout or expire date for object.
|
RFuture<Boolean> |
clearExpireAsync()
Clear an expire timeout or expire date for object in async mode.
|
Double |
dist(V firstMember,
V secondMember,
GeoUnit geoUnit)
Returns distance between members in
GeoUnit units. |
RFuture<Double> |
distAsync(V firstMember,
V secondMember,
GeoUnit geoUnit)
Returns distance between members in
GeoUnit units. |
boolean |
expire(long timeToLive,
TimeUnit timeUnit)
Set a timeout for object.
|
RFuture<Boolean> |
expireAsync(long timeToLive,
TimeUnit timeUnit)
Set a timeout for object in async mode.
|
boolean |
expireAt(Date timestamp)
Set an expire date for object.
|
boolean |
expireAt(long timestamp)
Set an expire date for object.
|
RFuture<Boolean> |
expireAtAsync(Date timestamp)
Set an expire date for object in async mode.
|
RFuture<Boolean> |
expireAtAsync(long timestamp)
Set an expire date for object in async mode.
|
Map<V,String> |
hash(V... members)
Returns 11 characters Geohash string mapped by defined member.
|
RFuture<Map<V,String>> |
hashAsync(V... members)
Returns 11 characters Geohash string mapped by defined member.
|
Map<V,GeoPosition> |
pos(V... members)
Returns geo-position mapped by defined member.
|
RFuture<Map<V,GeoPosition>> |
posAsync(V... members)
Returns geo-position mapped by defined member.
|
List<V> |
radius(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
List<V> |
radius(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder |
List<V> |
radius(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder
and limited by count |
List<V> |
radius(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units and limited by count |
List<V> |
radius(V member,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
List<V> |
radius(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder |
List<V> |
radius(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder
and limited by count |
List<V> |
radius(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units and limited by count |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder
and limited by count |
RFuture<List<V>> |
radiusAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units and limited by count |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder |
RFuture<List<V>> |
radiusAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units and limited by count |
long |
radiusStoreTo(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
long |
radiusStoreTo(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder
and limited by count
Store result to destName. |
long |
radiusStoreTo(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units and limited by count
Store result to destName. |
long |
radiusStoreTo(String destName,
V member,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
long |
radiusStoreTo(String destName,
V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder
Store result to destName. |
long |
radiusStoreTo(String destName,
V member,
double radius,
GeoUnit geoUnit,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units and limited by count
Store result to destName. |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units. |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units with GeoOrder
and limited by count
Store result to destName. |
RFuture<Long> |
radiusStoreToAsync(String destName,
double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the center location
and the maximum distance from the center (the radius)
in
GeoUnit units and limited by count
Store result to destName. |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units. |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units with GeoOrder
Store result to destName. |
RFuture<Long> |
radiusStoreToAsync(String destName,
V member,
double radius,
GeoUnit geoUnit,
int count)
Finds the members of a sorted set, which are within the
borders of the area specified with the defined member location
and the maximum distance from the defined member location (the radius)
in
GeoUnit units and limited by count
Store result to destName. |
Map<V,Double> |
radiusWithDistance(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the location.
|
Map<V,Double> |
radiusWithDistance(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the location.
|
Map<V,Double> |
radiusWithDistance(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the location.
|
Map<V,Double> |
radiusWithDistance(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the distance mapped by member, distance between member and the location.
|
Map<V,Double> |
radiusWithDistance(V member,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the defined member location.
|
Map<V,Double> |
radiusWithDistance(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the defined member location.
|
Map<V,Double> |
radiusWithDistance(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the defined member location.
|
Map<V,Double> |
radiusWithDistance(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the distance mapped by member, distance between member and the location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the distance mapped by member, distance between member and the defined member location.
|
RFuture<Map<V,Double>> |
radiusWithDistanceAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the distance mapped by member, distance between member and the defined member location.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
Map<V,GeoPosition> |
radiusWithPosition(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(double longitude,
double latitude,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
GeoOrder geoOrder,
int count)
Returns the geo-position mapped by member.
|
RFuture<Map<V,GeoPosition>> |
radiusWithPositionAsync(V member,
double radius,
GeoUnit geoUnit,
int count)
Returns the geo-position mapped by member.
|
long |
remainTimeToLive()
Remaining time to live of Redisson object that has a timeout
|
RFuture<Long> |
remainTimeToLiveAsync()
Remaining time to live of Redisson object that has a timeout
|
add, addAll, addAllAsync, addAndGetRank, addAndGetRankAsync, addAndGetRevRank, addAndGetRevRankAsync, addAsync, addScore, addScoreAndGetRank, addScoreAndGetRankAsync, addScoreAndGetRevRank, addScoreAndGetRevRankAsync, addScoreAsync, clear, contains, containsAll, containsAllAsync, containsAsync, count, countAsync, entryRange, entryRange, entryRange, entryRangeAsync, entryRangeAsync, entryRangeAsync, entryRangeReversed, entryRangeReversed, entryRangeReversed, entryRangeReversedAsync, entryRangeReversedAsync, entryRangeReversedAsync, first, firstAsync, firstScore, firstScoreAsync, getScore, getScoreAsync, intersection, intersection, intersection, intersection, intersectionAsync, intersectionAsync, intersectionAsync, intersectionAsync, isEmpty, iterator, iterator, iterator, iterator, last, lastAsync, lastScore, lastScoreAsync, mapReduce, pollFirst, pollFirst, pollFirst, pollFirstAsync, pollFirstAsync, pollFirstAsync, pollFirstFromAny, pollFirstFromAnyAsync, pollLast, pollLast, pollLast, pollLastAsync, pollLastAsync, pollLastAsync, pollLastFromAny, pollLastFromAnyAsync, rank, rankAsync, readAll, readAllAsync, readSort, readSort, readSort, readSort, readSort, readSort, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, remove, removeAll, removeAllAsync, removeAsync, removeRangeByRank, removeRangeByRankAsync, removeRangeByScore, removeRangeByScoreAsync, retainAll, retainAllAsync, revRank, revRankAsync, size, sizeAsync, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, toArray, toArray, tryAdd, tryAddAsync, union, union, union, union, unionAsync, unionAsync, unionAsync, unionAsync, valueRange, valueRange, valueRange, valueRangeAsync, valueRangeAsync, valueRangeAsync, valueRangeReversed, valueRangeReversed, valueRangeReversed, valueRangeReversedAsync, valueRangeReversedAsync, valueRangeReversedAsyncawait, copy, copyAsync, delete, deleteAsync, encode, encode, encode, encodeMapKey, encodeMapKeys, encodeMapValue, encodeMapValues, get, getCodec, getName, getName, isExists, isExistsAsync, migrate, migrateAsync, move, moveAsync, prefixName, rename, renameAsync, renamenx, renamenxAsync, suffixName, toSeconds, touch, touchAsync, unlink, unlinkAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addAll, addAndGetRank, addAndGetRevRank, addScore, addScoreAndGetRank, addScoreAndGetRevRank, clear, contains, containsAll, count, entryRange, entryRange, entryRange, entryRangeReversed, entryRangeReversed, entryRangeReversed, first, firstScore, getScore, intersection, intersection, intersection, intersection, isEmpty, iterator, iterator, iterator, last, lastScore, mapReduce, pollFirst, pollFirst, pollFirst, pollFirstFromAny, pollLast, pollLast, pollLast, pollLastFromAny, rank, readAll, remove, removeAll, removeRangeByRank, removeRangeByScore, retainAll, revRank, size, toArray, toArray, tryAdd, union, union, union, union, valueRange, valueRange, valueRange, valueRangeReversed, valueRangeReversed, valueRangeReversedforEach, iterator, spliteratorclearExpire, expire, expireAt, expireAt, remainTimeToLivecopy, delete, getCodec, getName, isExists, migrate, move, rename, renamenx, touch, unlinkreadSort, readSort, readSort, readSort, readSort, readSort, sortTo, sortTo, sortTo, sortTo, sortTo, sortToaddAllAsync, addAndGetRankAsync, addAndGetRevRankAsync, addAsync, addScoreAndGetRankAsync, addScoreAndGetRevRankAsync, addScoreAsync, containsAllAsync, containsAsync, countAsync, entryRangeAsync, entryRangeAsync, entryRangeAsync, entryRangeReversedAsync, entryRangeReversedAsync, entryRangeReversedAsync, firstAsync, firstScoreAsync, getScoreAsync, intersectionAsync, intersectionAsync, intersectionAsync, intersectionAsync, lastAsync, lastScoreAsync, pollFirstAsync, pollFirstAsync, pollFirstAsync, pollFirstFromAnyAsync, pollLastAsync, pollLastAsync, pollLastAsync, pollLastFromAnyAsync, rankAsync, readAllAsync, removeAllAsync, removeAsync, removeRangeByRankAsync, removeRangeByScoreAsync, retainAllAsync, revRankAsync, sizeAsync, tryAddAsync, unionAsync, unionAsync, unionAsync, unionAsync, valueRangeAsync, valueRangeAsync, valueRangeAsync, valueRangeReversedAsync, valueRangeReversedAsync, valueRangeReversedAsyncclearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsynccopyAsync, deleteAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, touchAsync, unlinkAsyncreadSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, readSortAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsync, sortToAsyncpublic RedissonGeo(CommandAsyncExecutor connectionManager, String name, RedissonClient redisson)
public RedissonGeo(Codec codec, CommandAsyncExecutor connectionManager, String name, RedissonClient redisson)
public RFuture<Long> addAsync(double longitude, double latitude, V member)
RGeoAsyncpublic long add(double longitude,
double latitude,
V member)
RGeopublic long add(GeoEntry... entries)
RGeopublic RFuture<Long> addAsync(GeoEntry... entries)
RGeoAsyncpublic Double dist(V firstMember, V secondMember, GeoUnit geoUnit)
RGeoGeoUnit units.public RFuture<Double> distAsync(V firstMember, V secondMember, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.public Map<V,String> hash(V... members)
RGeopublic RFuture<Map<V,String>> hashAsync(V... members)
RGeoAsyncpublic Map<V,GeoPosition> pos(V... members)
RGeopublic RFuture<Map<V,GeoPosition>> posAsync(V... members)
RGeoAsyncpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.public RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.radiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by countpublic RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by countradiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrderpublic RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrderradiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultpublic List<V> radius(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by countpublic RFuture<List<V>> radiusAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by countradiusAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.radiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.radiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count.radiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count.radiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrderradiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrderradiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultpublic Map<V,Double> radiusWithDistance(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by countradiusWithDistance in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by countradiusWithDistanceAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.radiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.radiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by countradiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by countradiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrderradiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrderradiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic Map<V,GeoPosition> radiusWithPosition(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by countradiusWithPosition in interface RGeo<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by countradiusWithPositionAsync in interface RGeoAsync<V>longitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic List<V> radius(V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.public RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.radiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic List<V> radius(V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by countpublic RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by countradiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic List<V> radius(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrderpublic RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrderradiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic List<V> radius(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by countpublic RFuture<List<V>> radiusAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrderradiusAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.radiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.radiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by countradiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by countradiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrderradiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrderradiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geopublic Map<V,Double> radiusWithDistance(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by countradiusWithDistance in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Map<V,Double>> radiusWithDistanceAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by countradiusWithDistanceAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geocount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.radiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.radiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by countradiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by countradiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoGeoUnit units with GeoOrderradiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder)
RGeoAsyncGeoUnit units with GeoOrderradiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo orderpublic Map<V,GeoPosition> radiusWithPosition(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by countradiusWithPosition in interface RGeo<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Map<V,GeoPosition>> radiusWithPositionAsync(V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by countradiusWithPositionAsync in interface RGeoAsync<V>member - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic long radiusStoreTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Store result to destName.radiusStoreTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Store result to destName.radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitpublic long radiusStoreTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Store result to destName.radiusStoreTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Store result to destName.radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic long radiusStoreTo(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
and limited by count
Store result to destName.radiusStoreTo in interface RGeo<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, double longitude, double latitude, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
and limited by count
Store result to destName.radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationlongitude - - longitude of objectlatitude - - latitude of objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - order of resultcount - - result limitpublic long radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit)
RGeoGeoUnit units.
Store result to destName.radiusStoreTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit)
RGeoAsyncGeoUnit units.
Store result to destName.radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitpublic long radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit, int count)
RGeoGeoUnit units and limited by count
Store result to destName.radiusStoreTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, int count)
RGeoAsyncGeoUnit units and limited by count
Store result to destName.radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitcount - - result limitpublic long radiusStoreTo(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoGeoUnit units with GeoOrder
Store result to destName.radiusStoreTo in interface RGeo<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic RFuture<Long> radiusStoreToAsync(String destName, V member, double radius, GeoUnit geoUnit, GeoOrder geoOrder, int count)
RGeoAsyncGeoUnit units with GeoOrder
Store result to destName.radiusStoreToAsync in interface RGeoAsync<V>destName - - Geo object destinationmember - - objectradius - - radius in geo unitsgeoUnit - - geo unitgeoOrder - - geo ordercount - - result limitpublic boolean expire(long timeToLive,
TimeUnit timeUnit)
RExpirableexpire in interface RExpirabletimeToLive - - timeout before object will be deletedtimeUnit - - timeout time unittrue if the timeout was set and false if notpublic RFuture<Boolean> expireAsync(long timeToLive, TimeUnit timeUnit)
RExpirableAsyncexpireAsync in interface RExpirableAsynctimeToLive - - timeout before object will be deletedtimeUnit - - timeout time unittrue if the timeout was set and false if notpublic boolean expireAt(long timestamp)
RExpirableexpireAt in interface RExpirabletimestamp - - expire date in milliseconds (Unix timestamp)true if the timeout was set and false if notpublic RFuture<Boolean> expireAtAsync(long timestamp)
RExpirableAsyncexpireAtAsync in interface RExpirableAsynctimestamp - - expire date in seconds (Unix timestamp)true if the timeout was set and false if notpublic boolean expireAt(Date timestamp)
RExpirableexpireAt in interface RExpirabletimestamp - - expire datetrue if the timeout was set and false if notpublic RFuture<Boolean> expireAtAsync(Date timestamp)
RExpirableAsyncexpireAtAsync in interface RExpirableAsynctimestamp - - expire datetrue if the timeout was set and false if notpublic boolean clearExpire()
RExpirableclearExpire in interface RExpirabletrue if timeout was removed
false if object does not exist or does not have an associated timeoutpublic RFuture<Boolean> clearExpireAsync()
RExpirableAsyncclearExpireAsync in interface RExpirableAsynctrue if the timeout was cleared and false if notpublic long remainTimeToLive()
RExpirableremainTimeToLive in interface RExpirablepublic RFuture<Long> remainTimeToLiveAsync()
RExpirableAsyncremainTimeToLiveAsync in interface RExpirableAsyncCopyright © 2014–2018 The Redisson Project. All rights reserved.