+ fix some javadoc problems

This commit is contained in:
Costin Leau
2011-07-06 15:33:51 +03:00
parent cc9ce02932
commit 500255cf48
3 changed files with 9 additions and 7 deletions

View File

@@ -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

View File

@@ -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();
}

View File

@@ -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));