RBatch.getScoredSortedSet added

pull/255/head
Nikita 10 years ago
parent ff6d92d298
commit 0715a5489c

@ -28,6 +28,7 @@ import org.redisson.core.RKeysAsync;
import org.redisson.core.RListAsync; import org.redisson.core.RListAsync;
import org.redisson.core.RMapAsync; import org.redisson.core.RMapAsync;
import org.redisson.core.RQueueAsync; import org.redisson.core.RQueueAsync;
import org.redisson.core.RScoredSortedSet;
import org.redisson.core.RScriptAsync; import org.redisson.core.RScriptAsync;
import org.redisson.core.RSetAsync; import org.redisson.core.RSetAsync;
import org.redisson.core.RTopicAsync; import org.redisson.core.RTopicAsync;
@ -92,6 +93,11 @@ public class RedissonBatch implements RBatch {
return new RedissonAtomicLong(executorService, name); return new RedissonAtomicLong(executorService, name);
} }
@Override
public <V> RScoredSortedSet<V> getScoredSortedSet(String name) {
return new RedissonScoredSortedSet<V>(executorService, name);
}
@Override @Override
public RScriptAsync getScript() { public RScriptAsync getScript() {
return new RedissonScript(executorService); return new RedissonScript(executorService);

@ -113,6 +113,8 @@ public interface RBatch {
*/ */
RAtomicLongAsync getAtomicLongAsync(String name); RAtomicLongAsync getAtomicLongAsync(String name);
<V> RScoredSortedSet<V> getScoredSortedSet(String name);
/** /**
* Returns script operations object * Returns script operations object
* *

Loading…
Cancel
Save