refactoring

pull/5564/head
Nikita Koksharov 1 year ago
parent 60faed5f10
commit db7f391386

@ -1210,4 +1210,17 @@ public interface RScoredSortedSetAsync<V> extends RExpirableAsync, RSortableAsyn
*/
RFuture<Integer> diffAsync(String... names);
/**
* Adds object event listener
*
* @see org.redisson.api.listener.ScoredSortedSetAddListener
* @see org.redisson.api.listener.ScoredSortedSetRemoveListener
* @see org.redisson.api.ExpiredObjectListener
* @see org.redisson.api.DeletedObjectListener
*
* @param listener object event listener
* @return listener id
*/
RFuture<Integer> addListenerAsync(ObjectListener listener);
}

@ -1764,7 +1764,7 @@ public class RedissonScoredSortedSetTest extends RedisDockerTest {
}
@Test
public void testAddListener() throws RedisRunner.FailedToStartRedisException, IOException, InterruptedException {
public void testAddListener() {
testWithParams(redisson -> {
RScoredSortedSet<Integer> ss = redisson.getScoredSortedSet("test");
CountDownLatch latch = new CountDownLatch(1);

Loading…
Cancel
Save