-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed RsStreamConsumer>>autoClaimIdling to use auto claim API with …
…IDS only option
- Loading branch information
Showing
6 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...itory/RediStick-Stream-Objects.package/RsStreamConsumer.class/instance/autoClaimIdling.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
claiming | ||
autoClaimIdling | ||
^ self autoClaimIdleMoreThan: self settings claimMinIdleMilliseconds | ||
^ self autoClaimIdsIdleMoreThan: self settings claimMinIdleMilliseconds |
3 changes: 3 additions & 0 deletions
3
...-Stream-Objects.package/RsStreamConsumer.class/instance/autoClaimIdsFrom.idleMoreThan..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
claiming | ||
autoClaimIdsFrom: start idleMoreThan: milliseconds | ||
^ self autoClaimIdsFrom: start idleMoreThan: milliseconds atMost: self settings claimReadChunkSize |
3 changes: 3 additions & 0 deletions
3
...-Objects.package/RsStreamConsumer.class/instance/autoClaimIdsFrom.idleMoreThan.atMost..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
claiming | ||
autoClaimIdsFrom: start idleMoreThan: milliseconds atMost: count | ||
^ self group autoClaimIdsFrom: start idleMoreThan: milliseconds atMost: count on: self name |
3 changes: 3 additions & 0 deletions
3
...Stick-Stream-Objects.package/RsStreamConsumer.class/instance/autoClaimIdsIdleMoreThan..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
claiming | ||
autoClaimIdsIdleMoreThan: milliseconds | ||
^ self autoClaimIdsFrom: RsStreamMessageId zero idleMoreThan: milliseconds |
3 changes: 3 additions & 0 deletions
3
...ry/RediStick-Stream-Objects.package/RsStreamConsumer.class/instance/autoClaimIdsIdling.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
claiming | ||
autoClaimIdsIdling | ||
^ self autoClaimIdsIdleMoreThan: self settings claimMinIdleMilliseconds |
3 changes: 3 additions & 0 deletions
3
....package/RsStreamConsumerGroup.class/instance/autoClaimIdsFrom.idleMoreThan.atMost.on..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
claiming | ||
autoClaimIdsFrom: start idleMoreThan: milliseconds atMost: count on: consumerName | ||
^ self endpoint xAutoClaim: self streamName group: self name consumer: consumerName minIdleTime: milliseconds start: start count: count idsOnly: true |