本文整理匯總了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);