|
|
|
@ -15,8 +15,7 @@
|
|
|
|
|
*/
|
|
|
|
|
package org.redisson.api;
|
|
|
|
|
|
|
|
|
|
import org.redisson.api.stream.StreamAddArgs;
|
|
|
|
|
import org.redisson.api.stream.TrimStrategy;
|
|
|
|
|
import org.redisson.api.stream.*;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
@ -320,228 +319,136 @@ public interface RStream<K, V> extends RStreamAsync<K, V>, RExpirable {
|
|
|
|
|
FastAutoClaimResult fastAutoClaim(String groupName, String consumerName, long idleTime, TimeUnit idleTimeUnit, StreamMessageId startId, int count);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code> and specified collection of Stream Message IDs.
|
|
|
|
|
* Read stream data from consumer group and multiple streams including current.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
* @param args - method arguments object
|
|
|
|
|
* @return stream data mapped by stream name and Stream Message ID
|
|
|
|
|
*/
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> readGroup(String groupName, String consumerName, StreamMessageId... ids);
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, StreamMultiReadGroupArgs args);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code> and specified collection of Stream Message IDs.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* Read stream data from consumer group and current stream only.
|
|
|
|
|
*
|
|
|
|
|
* @param args - method arguments object
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
*/
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> readGroup(String groupName, String consumerName, StreamReadGroupArgs args);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> readGroup(String groupName, String consumerName, StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> readGroup(String groupName, String consumerName, int count, StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code> and specified collection of Stream Message IDs.
|
|
|
|
|
* Waits for stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> readGroup(String groupName, String consumerName, long timeout, TimeUnit unit, StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code> and specified collection of Stream Message IDs.
|
|
|
|
|
* Waits for stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> readGroup(String groupName, String consumerName, int count, long timeout, TimeUnit unit, StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by stream name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by stream name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, int count, StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
* Waits for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by stream name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, int count, long timeout, TimeUnit unit, StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
* Waits for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by stream name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, long timeout, TimeUnit unit, StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, StreamMessageId id, String key2, StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @param key3 - name of third stream
|
|
|
|
|
* @param id3 - starting message id for third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, StreamMessageId id, String key2, StreamMessageId id2, String key3,
|
|
|
|
|
StreamMessageId id3);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, int count, StreamMessageId id, String key2, StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @param key3 - name of third stream
|
|
|
|
|
* @param id3 - starting message id for third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, int count, StreamMessageId id, String key2, StreamMessageId id2, String key3,
|
|
|
|
|
StreamMessageId id3);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
* Waits for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, long timeout, TimeUnit unit, StreamMessageId id, String key2,
|
|
|
|
|
StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
* Waits for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @param key3 - name of third stream
|
|
|
|
|
* @param id3 - starting message id for third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, long timeout, TimeUnit unit, StreamMessageId id, String key2,
|
|
|
|
|
StreamMessageId id2, String key3, StreamMessageId id3);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
* Waits for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, int count, long timeout, TimeUnit unit, StreamMessageId id, String key2,
|
|
|
|
|
StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data from <code>groupName</code> by <code>consumerName</code>, starting by specified message ids for this and other streams.
|
|
|
|
|
* Waits for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param groupName - name of group
|
|
|
|
|
* @param consumerName - name of consumer
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - starting message id for this stream
|
|
|
|
|
* @param key2 - name of second stream
|
|
|
|
|
* @param id2 - starting message id for second stream
|
|
|
|
|
* @param key3 - name of third stream
|
|
|
|
|
* @param id3 - starting message id for third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use readGroup(String, String, StreamMultiReadGroupArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> readGroup(String groupName, String consumerName, int count, long timeout, TimeUnit unit, StreamMessageId id, String key2,
|
|
|
|
|
StreamMessageId id2, String key3, StreamMessageId id3);
|
|
|
|
|
|
|
|
|
@ -623,193 +530,133 @@ public interface RStream<K, V> extends RStreamAsync<K, V>, RExpirable {
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
void addAll(StreamMessageId id, Map<K, V> entries, int trimLen, boolean trimStrict);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified collection of Stream Message IDs.
|
|
|
|
|
*
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
* Read stream data from multiple streams including current.
|
|
|
|
|
*
|
|
|
|
|
* @param args - method arguments object
|
|
|
|
|
* @return stream data mapped by stream name and Stream Message ID
|
|
|
|
|
*/
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> read(StreamMessageId... ids);
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(StreamMultiReadArgs args);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified collection of Stream Message IDs.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* Read stream data from current stream only.
|
|
|
|
|
*
|
|
|
|
|
* @param args - method arguments object
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
*/
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> read(StreamReadArgs args);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> read(StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> read(int count, StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified collection of Stream Message IDs.
|
|
|
|
|
* Wait for stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> read(long timeout, TimeUnit unit, StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified collection of Stream Message IDs.
|
|
|
|
|
* Wait for stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param ids - collection of Stream Message IDs
|
|
|
|
|
* @return stream data mapped by Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<StreamMessageId, Map<K, V>> read(int count, long timeout, TimeUnit unit, StreamMessageId... ids);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream name including this stream.
|
|
|
|
|
*
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(StreamMessageId id, String name2, StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream names including this stream.
|
|
|
|
|
*
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @param name3 - name of third stream
|
|
|
|
|
* @param id3 - id of third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(StreamMessageId id, String name2, StreamMessageId id2, String name3, StreamMessageId id3);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified Stream Message ID mapped by name including this stream.
|
|
|
|
|
*
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream name including this stream.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(int count, StreamMessageId id, String name2, StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream names including this stream.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @param name3 - name of third stream
|
|
|
|
|
* @param id3 - id of third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(int count, StreamMessageId id, String name2, StreamMessageId id2, String name3, StreamMessageId id3);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified Stream Message ID mapped by name including this stream.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(int count, StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream name including this stream.
|
|
|
|
|
* Wait for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(long timeout, TimeUnit unit, StreamMessageId id, String name2, StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream names including this stream.
|
|
|
|
|
* Wait for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @param name3 - name of third stream
|
|
|
|
|
* @param id3 - id of third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(long timeout, TimeUnit unit, StreamMessageId id, String name2, StreamMessageId id2, String name3, StreamMessageId id3);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified Stream Message ID mapped by name including this stream.
|
|
|
|
|
* Wait for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(long timeout, TimeUnit unit, StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream name including this stream.
|
|
|
|
|
* Wait for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(int count, long timeout, TimeUnit unit, StreamMessageId id, String name2, StreamMessageId id2);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified stream names including this stream.
|
|
|
|
|
* Wait for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param name2 - name of second stream
|
|
|
|
|
* @param id2 - id of second stream
|
|
|
|
|
* @param name3 - name of third stream
|
|
|
|
|
* @param id3 - id of third stream
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(int count, long timeout, TimeUnit unit, StreamMessageId id, String name2, StreamMessageId id2, String name3, StreamMessageId id3);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Read stream data by specified Stream Message ID mapped by name including this stream.
|
|
|
|
|
* Wait for the first stream data availability for specified <code>timeout</code> interval.
|
|
|
|
|
*
|
|
|
|
|
* @param count - stream data size limit
|
|
|
|
|
* @param timeout - time interval to wait for stream data availability
|
|
|
|
|
* @param unit - time interval unit
|
|
|
|
|
* @param id - id of this stream
|
|
|
|
|
* @param nameToId - Stream Message ID mapped by name
|
|
|
|
|
* @return stream data mapped by key and Stream Message ID
|
|
|
|
|
/*
|
|
|
|
|
* Use read(StreamMultiReadArgs) method instead
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
|
|
|
|
Map<String, Map<StreamMessageId, Map<K, V>>> read(int count, long timeout, TimeUnit unit, StreamMessageId id, Map<String, StreamMessageId> nameToId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|