Polishing.
Reformat code. Refine tests as we do not require assertions for every publish command when testing listeners. See #2209 Original pull request: #2225.
This commit is contained in:
@@ -387,6 +387,7 @@ public interface RedisOperations<K, V> {
|
||||
*/
|
||||
@Nullable
|
||||
Long getExpire(K key, TimeUnit timeUnit);
|
||||
|
||||
/**
|
||||
* Move given {@code key} to database with {@code index}.
|
||||
*
|
||||
@@ -591,8 +592,8 @@ public interface RedisOperations<K, V> {
|
||||
* Publishes the given message to the given channel.
|
||||
*
|
||||
* @param destination the channel to publish to, must not be {@literal null}.
|
||||
* @param message message to publish
|
||||
* @return the number of clients that received the message
|
||||
* @param message message to publish.
|
||||
* @return the number of clients that received the message. {@literal null} when used in pipeline / transaction.
|
||||
* @see <a href="https://redis.io/commands/publish">Redis Documentation: PUBLISH</a>
|
||||
*/
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user