本文整理汇总了Java中com.lambdaworks.redis.ScanCursor类的典型用法代码示例。如果您正苦于以下问题:Java ScanCursor类的具体用法?Java ScanCursor怎么用?Java ScanCursor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ScanCursor类属于com.lambdaworks.redis包,在下文中一共展示了ScanCursor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: jscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
public Command<K, V, KeyScanCursor<String>> jscan(ScanCursor scanCursor, JScanArgs<K> scanArgs) {
DisqueCommandArgs<K, V> args = new DisqueCommandArgs<K, V>(codec);
if (scanArgs != null) {
scanArgs.build(args);
}
if (scanCursor != null) {
args.add(scanCursor.getCursor());
}
args.add(CommandKeyword.REPLY).add("id");
return createCommand(JSCAN, new StringScanOutput<K, V>(codec), args);
}
示例2: qscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
public Command<K, V, KeyScanCursor<K>> qscan(ScanCursor scanCursor, QScanArgs scanArgs) {
DisqueCommandArgs<K, V> args = new DisqueCommandArgs<K, V>(codec);
if (scanArgs != null) {
scanArgs.build(args);
}
if (scanCursor != null) {
args.add(scanCursor.getCursor());
}
return createCommand(QSCAN, new KeyScanOutput<K, V>(codec), args);
}
示例3: jscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
@Override
public RedisFuture<KeyScanCursor<String>> jscan(ScanCursor scanCursor) {
return dispatch(commandBuilder.jscan(scanCursor, null));
}
示例4: qscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
@Override
public RedisFuture<KeyScanCursor<K>> qscan(ScanCursor scanCursor) {
return dispatch(commandBuilder.qscan(scanCursor, null));
}
示例5: jscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
@Override
public Observable<KeyScanCursor<String>> jscan(ScanCursor scanCursor) {
return createObservable(() -> commandBuilder.jscan(scanCursor, null));
}
示例6: qscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
@Override
public Observable<KeyScanCursor<K>> qscan(ScanCursor scanCursor) {
return createObservable(() -> commandBuilder.qscan(scanCursor, null));
}
示例7: qscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate the keys space.
*
* @param scanCursor cursor to resume from a previous scan
* @return KeyScanCursor<K> scan cursor.
*/
KeyScanCursor<K> qscan(ScanCursor scanCursor);
示例8: jscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate all the existing queues in the local node returning the job id's.
*
* @param scanCursor cursor to resume from a previous scan
* @return KeyScanCursor<K> scan cursor.
*/
KeyScanCursor<String> jscan(ScanCursor scanCursor);
示例9: jscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate all the existing queues in the local node returning the job id's.
*
* @param scanCursor cursor to resume from a previous scan
* @return KeyScanCursor<K> scan cursor.
*/
Observable<KeyScanCursor<String>> jscan(ScanCursor scanCursor);
示例10: qscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate the keys space.
*
* @param scanCursor cursor to resume from a previous scan
* @return KeyScanCursor<K> scan cursor.
*/
Observable<KeyScanCursor<K>> qscan(ScanCursor scanCursor);
示例11: qscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate the keys space.
*
* @param scanCursor cursor to resume from a previous scan
* @return KeyScanCursor<K> scan cursor.
*/
RedisFuture<KeyScanCursor<K>> qscan(ScanCursor scanCursor);
示例12: jscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate all the existing queues in the local node returning the job id's.
*
* @param scanCursor cursor to resume from a previous scan
* @return KeyScanCursor<K> scan cursor.
*/
RedisFuture<KeyScanCursor<String>> jscan(ScanCursor scanCursor);
示例13: hscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate hash fields and associated values.
*
* @param key the key
* @param scanCursor cursor to resume from a previous scan, must not be {@literal null}
* @param scanArgs scan arguments
* @return MapScanCursor<K, V> map scan cursor.
*/
MapScanCursor<K, V> hscan(K key, ScanCursor scanCursor, ScanArgs scanArgs);
示例14: sscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate Set elements.
*
* @param key the key
* @param scanCursor cursor to resume from a previous scan, must not be {@literal null}
* @param scanArgs scan arguments
* @return ValueScanCursor<V> scan cursor.
*/
ValueScanCursor<V> sscan(K key, ScanCursor scanCursor, ScanArgs scanArgs);
示例15: hscan
import com.lambdaworks.redis.ScanCursor; //导入依赖的package包/类
/**
* Incrementally iterate hash fields and associated values.
*
* @param key the key
* @param scanCursor cursor to resume from a previous scan, must not be {@literal null}
* @param scanArgs scan arguments
* @return MapScanCursor<K, V> map scan cursor.
*/
Observable<MapScanCursor<K, V>> hscan(K key, ScanCursor scanCursor, ScanArgs scanArgs);