+ fix some javadoc problems
This commit is contained in:
@@ -136,7 +136,6 @@ public class RedisTemplate<K, V> extends RedisAccessor implements RedisOperation
|
||||
/**
|
||||
* Executes the given action object within a connection that can be exposed or not. Additionally, the connection
|
||||
* can be pipelined. Note the results of the pipeline are discarded (making it suitable for write-only scenarios).
|
||||
* Use {@link #executePipelined(RedisCallback)} as an alternative.
|
||||
*
|
||||
* @param <T> return type
|
||||
* @param action callback object to execute
|
||||
|
||||
@@ -58,21 +58,21 @@ public interface SortQuery<K> {
|
||||
/**
|
||||
* Return the target key for sorting.
|
||||
*
|
||||
* @return
|
||||
* @return the target key
|
||||
*/
|
||||
K getKey();
|
||||
|
||||
/**
|
||||
* Returns the pattern of the external key used for sorting.
|
||||
*
|
||||
* @return
|
||||
* @return the external key pattern
|
||||
*/
|
||||
String getBy();
|
||||
|
||||
/**
|
||||
* Returns the external key(s) whose values are returned by the sort.
|
||||
*
|
||||
* @return
|
||||
* @return the (list of) keys used for GET
|
||||
*/
|
||||
List<String> getGetPattern();
|
||||
}
|
||||
@@ -23,9 +23,9 @@ import java.util.Date;
|
||||
import java.util.Enumeration;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Properties;
|
||||
import java.util.Set;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.springframework.data.redis.connection.DataType;
|
||||
@@ -59,7 +59,8 @@ public class RedisProperties extends Properties implements RedisMap<Object, Obje
|
||||
/**
|
||||
* Constructs a new <code>RedisProperties</code> instance.
|
||||
*
|
||||
* @param boundOps
|
||||
* @param key
|
||||
* @param operations
|
||||
*/
|
||||
public RedisProperties(String key, RedisOperations<String, ?> operations) {
|
||||
this(null, operations.<String, String> boundHashOps(key));
|
||||
@@ -69,6 +70,7 @@ public class RedisProperties extends Properties implements RedisMap<Object, Obje
|
||||
* Constructs a new <code>RedisProperties</code> instance.
|
||||
*
|
||||
* @param defaults
|
||||
* @param boundOps
|
||||
*/
|
||||
public RedisProperties(Properties defaults, BoundHashOperations<String, String, String> boundOps) {
|
||||
super(defaults);
|
||||
@@ -80,7 +82,8 @@ public class RedisProperties extends Properties implements RedisMap<Object, Obje
|
||||
* Constructs a new <code>RedisProperties</code> instance.
|
||||
*
|
||||
* @param defaults
|
||||
* @param boundOps
|
||||
* @param key
|
||||
* @param operations
|
||||
*/
|
||||
public RedisProperties(Properties defaults, String key, RedisOperations<String, ?> operations) {
|
||||
this(defaults, operations.<String, String> boundHashOps(key));
|
||||
|
||||
Reference in New Issue
Block a user