Uses of Class
org.springframework.data.redis.connection.stream.RecordId
Packages that use RecordId
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Data structures and interfaces to interact with Redis Streams.
Core package for integrating Redis with Spring concepts.
-
Uses of RecordId in org.springframework.data.redis.connection
Methods in org.springframework.data.redis.connection that return RecordIdModifier and TypeMethodDescriptionstatic RecordId[]@Nullable RecordIdReactiveStreamCommands.AddStreamRecord.getMinId()@Nullable RecordIdRedisStreamCommands.XAddOptions.getMinId()default RecordIdDefaultedRedisConnection.xAdd(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) Deprecated.DefaultStringRedisConnection.xAdd(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) DefaultStringRedisConnection.xAdd(StringRecord record, RedisStreamCommands.XAddOptions options) default RecordIdRedisStreamCommands.xAdd(byte @NonNull [] key, @NonNull Map<byte @NonNull [], byte @NonNull []> content) Append a new record with the givenfield/value pairsas content to the stream stored atkey.default RecordIdAppend the givenrecordto the stream stored atRecord#getStream.RedisStreamCommands.xAdd(MapRecord<byte[], byte[], byte[]> record, @NonNull RedisStreamCommands.XAddOptions options) Append the givenrecordto the stream stored atRecord#getStream.default RecordIdAppend a record to the streamkey.default RecordIdStringRedisConnection.xAdd(@NonNull StringRecord record) Append the givenStringRecordto the stream stored atRecord.getStream().StringRedisConnection.xAdd(@NonNull StringRecord record, @NonNull RedisStreamCommands.XAddOptions options) Append the givenStringRecordto the stream stored atRecord.getStream().Methods in org.springframework.data.redis.connection that return types with arguments of type RecordIdModifier and TypeMethodDescriptionRedisStreamCommands.XClaimOptions.getIds()Get theListof ID.ReactiveStreamCommands.AcknowledgeCommand.getRecordIds()ReactiveStreamCommands.DeleteCommand.getRecordIds()ReactiveStreamCommands.xAdd(ByteBuffer key, Map<ByteBuffer, ByteBuffer> body) Add stream record with given body to key.ReactiveStreamCommands.xAdd(Publisher<ReactiveStreamCommands.AddStreamRecord> commands) Add stream record with given body to key.ReactiveStreamCommands.xAdd(ByteBufferRecord record) Add stream record with given body to key.ReactiveStreamCommands.xAdd(ByteBufferRecord record, RedisStreamCommands.XAddOptions xAddOptions) Add stream record with the specified options.DefaultedRedisConnection.xClaimJustId(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.DefaultStringRedisConnection.xClaimJustId(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) DefaultStringRedisConnection.xClaimJustId(String key, String group, String consumer, RedisStreamCommands.XClaimOptions options) ReactiveStreamCommands.xClaimJustId(ByteBuffer key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Change the ownership of a pending message to the given new consumer without increasing the delivered count.ReactiveStreamCommands.xClaimJustId(Publisher<ReactiveStreamCommands.XClaimCommand> commands) Change the ownership of a pending message to the given new consumer without increasing the delivered count.RedisStreamCommands.xClaimJustId(byte @NonNull [] key, @NonNull String group, @NonNull String newOwner, @NonNull RedisStreamCommands.XClaimOptions options) Change the ownership of a pending message to the given new consumer without increasing the delivered count.StringRedisConnection.xClaimJustId(@NonNull String key, @NonNull String group, @NonNull String newOwner, @NonNull RedisStreamCommands.XClaimOptions options) Change the ownership of a pending message to the given new consumer without increasing the delivered count.Methods in org.springframework.data.redis.connection with parameters of type RecordIdModifier and TypeMethodDescriptionReactiveStreamCommands.AcknowledgeCommand.forRecords(RecordId... recordIds) Applies the recordIds.Set the IDs to claim.ApplyMINIDtrimming strategy, that evicts entries with IDs lower than the one specified.ApplyMINIDtrimming strategy, that evicts entries with IDs lower than the one specified.Applies the recordIds.default LongDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.ReactiveStreamCommands.xAck(ByteBuffer key, String group, RecordId... recordIds) Acknowledge one or more records as processed.RedisStreamCommands.xAck(byte @NonNull [] key, @NonNull String group, @NonNull RecordId @NonNull ... recordIds) Acknowledge one or more records, identified via their id, as processed.StringRedisConnection.xAck(@NonNull String key, @NonNull String group, @NonNull RecordId @NonNull ... recordIds) default Flux<ByteBufferRecord> ReactiveStreamCommands.xClaim(ByteBuffer key, String group, String newOwner, Duration minIdleTime, RecordId... recordIds) Change the ownership of a pending message to the given new consumer.default List<@NonNull ByteRecord> RedisStreamCommands.xClaim(byte @NonNull [] key, @NonNull String group, @NonNull String newOwner, @NonNull Duration minIdleTime, @NonNull RecordId @NonNull ... recordIds) Change the ownership of a pending message to the given new consumer.default List<StringRecord> StringRedisConnection.xClaim(@NonNull String key, @NonNull String group, @NonNull String newOwner, @NonNull Duration minIdleTime, @NonNull RecordId @NonNull ... recordIds) Change the ownership of a pending message to the given new consumer.default LongDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.ReactiveStreamCommands.xDel(ByteBuffer key, RecordId... recordIds) Removes the specified entries from the stream.Removes the records with the given id's from the stream. -
Uses of RecordId in org.springframework.data.redis.connection.stream
Methods in org.springframework.data.redis.connection.stream that return RecordIdModifier and TypeMethodDescriptionstatic RecordIdRecordId.autoGenerate()Obtain theRecordIdsignalling the server to auto generate an entry-id on insert (XADD).PendingMessage.getId()Record.getId()The id of the entry inside the stream.PendingMessagesSummary.maxRecordId()Get the greatest ID among the pending messages.PendingMessagesSummary.minRecordId()Get the smallest ID among the pending messages.static RecordIdRecordId.of(long millisecondsTime, long sequenceNumber) Create a new instance ofRecordIdusing the provided String formatted as <millisecondsTime>-<sequenceNumber>.static RecordIdObtain an instance ofRecordIdusing the provided String formatted as <millisecondsTime>-<sequenceNumber>.Methods in org.springframework.data.redis.connection.stream with parameters of type RecordIdModifier and TypeMethodDescriptionstatic ReadOffsetRead all arriving elements from the stream starting atRecordId.Configure aRecordId.Constructors in org.springframework.data.redis.connection.stream with parameters of type RecordIdModifierConstructorDescriptionPendingMessage(RecordId id, Consumer consumer, Duration elapsedTimeSinceLastDelivery, long totalDeliveryCount) -
Uses of RecordId in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core that return RecordIdModifier and TypeMethodDescriptionAppend a record to the streamkey.BoundStreamOperations.add(@NonNull Map<@NonNull HK, HV> content, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.default RecordIdAppend a record to the streamkey.default RecordIdStreamOperations.add(@NonNull K key, @NonNull Map<? extends @NonNull HK, ? extends HV> content, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.default RecordIdAppend a record, backed by aMapholding the field/value pairs, to the stream.default RecordIdStreamOperations.add(@NonNull MapRecord<K, ? extends HK, ? extends HV> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record, backed by aMapholding the field/value pairs, to the stream with the specified options.Append the record, backed by the given value, to the stream.StreamOperations.add(@NonNull Record<K, ?> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append the record, backed by the given value, to the stream with the specified options.Methods in org.springframework.data.redis.core that return types with arguments of type RecordIdModifier and TypeMethodDescriptionAppend a record to the streamkey.ReactiveStreamOperations.add(@NonNull K key, @NonNull Map<? extends HK, ? extends HV> content, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.ReactiveStreamOperations.add(@NonNull K key, @NonNull Publisher<? extends Map<? extends HK, ? extends HV>> bodyPublisher) Append one or more records to the streamkey.Append a record, backed by aMapholding the field/value pairs, to the stream.ReactiveStreamOperations.add(@NonNull MapRecord<K, ? extends HK, ? extends HV> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append a record, backed by aMapholding the field/value pairs, to the stream with the specified options.Append the record, backed by the given value, to the stream.ReactiveStreamOperations.add(@NonNull Record<K, ?> record, @NonNull RedisStreamCommands.XAddOptions xAddOptions) Append the record, backed by the given value, to the stream with the specified options.Methods in org.springframework.data.redis.core with parameters of type RecordIdModifier and TypeMethodDescriptionReactiveStreamOperations.acknowledge(@NonNull K key, @NonNull String group, @NonNull RecordId @NonNull ... recordIds) Acknowledge one or more records as processed.default LongStreamOperations.acknowledge(@NonNull K key, @NonNull String group, @NonNull RecordId @NonNull ... recordIds) Acknowledge one or more records as processed.ReactiveStreamOperations.claim(@NonNull K key, @NonNull String consumerGroup, @NonNull String newOwner, @NonNull Duration minIdleTime, @NonNull RecordId @NonNull ... recordIds) Changes the ownership of a pending message so that the new owner is the consumer specified as the command argument.StreamOperations.claim(@NonNull K key, @NonNull String consumerGroup, @NonNull String newOwner, @NonNull Duration minIdleTime, @NonNull RecordId @NonNull ... recordIds) Changes the ownership of a pending message so that the new owner is the consumer specified as the command argument.Removes the specified records from the stream.Removes the specified records from the stream.
RedisCommandsProvider.streamCommands()}.