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[]ReactiveStreamCommands.AddStreamRecord.getMinId()RedisStreamCommands.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 RecordIdAppend 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, RedisStreamCommands.XAddOptions options) Append the givenrecordto the stream stored atRecord#getStream.default RecordIdAppend a record to the streamkey.default RecordIdStringRedisConnection.xAdd(StringRecord record) Append the givenStringRecordto the stream stored atRecord.getStream().StringRedisConnection.xAdd(StringRecord record, 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[] 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.StringRedisConnection.xClaimJustId(String 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.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.Acknowledge one or more records, identified via their id, as processed.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<ByteRecord>RedisStreamCommands.xClaim(byte[] key, String group, String newOwner, Duration minIdleTime, RecordId... recordIds) Change the ownership of a pending message to the given new consumer.default List<StringRecord>StringRedisConnection.xClaim(String key, String group, String newOwner, Duration minIdleTime, RecordId... 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(Map<HK, HV> content, RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.default RecordIdAppend a record to the streamkey.default RecordIdStreamOperations.add(K key, Map<? extends HK, ? extends HV> content, 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(MapRecord<K, ? extends HK, ? extends HV> record, 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(Record<K, ?> record, 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(K key, Map<? extends HK, ? extends HV> content, RedisStreamCommands.XAddOptions xAddOptions) Append a record to the streamkeywith the specified options.ReactiveStreamOperations.add(K key, 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(MapRecord<K, ? extends HK, ? extends HV> record, 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(Record<K, ?> record, 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(K key, String group, RecordId... recordIds) Acknowledge one or more records as processed.default LongStreamOperations.acknowledge(K key, String group, RecordId... recordIds) Acknowledge one or more records as processed.ReactiveStreamOperations.claim(K key, String consumerGroup, String newOwner, Duration minIdleTime, RecordId... recordIds) Changes the ownership of a pending message so that the new owner is the consumer specified as the command argument.StreamOperations.claim(K key, String consumerGroup, String newOwner, Duration minIdleTime, RecordId... 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()}.