ShuffleShardWithLookback is like ShuffleShard() but the returned subring includes all instances that have been part of the identifier's shard since "now - lookbackPeriod".
(identifier string, size int, lookbackPeriod time.Duration, now time.Time)
| 121 | // ShuffleShardWithLookback is like ShuffleShard() but the returned subring includes |
| 122 | // all instances that have been part of the identifier's shard since "now - lookbackPeriod". |
| 123 | ShuffleShardWithLookback(identifier string, size int, lookbackPeriod time.Duration, now time.Time) ReadRing |
| 124 | |
| 125 | // HasInstance returns whether the ring contains an instance matching the provided instanceID. |
| 126 | HasInstance(instanceID string) bool |
no outgoing calls