- public function loadLastModifiedCommitID($commit_id, $path_id, $time) — Search the graph cache for the most modification to a path.
- private function getBucketKey($commit_id) — Get the bucket key for a given commit ID.
- private function getBucketCacheKey($bucket_key) — Get the cache key for a given bucket key (from @{method:getBucketKey}).
- private function getBucketSize() — Get the number of items per bucket.
- private function getBucketData($bucket_key, $rebuild_data) — Retrieve or build a graph cache bucket from the cache.
- private function rebuildBucket($bucket_key, $current_data) — Rebuild a cache bucket, amending existing data if available.
| int | $commit_id | The commit ID to search ancestors of. |
| int | $path_id | The path ID to search for changes to. |
| float | $time | Maximum number of seconds to spend trying to satisfy this query using the graph cache. By default, `0.5` (500ms). |
| mixed | Commit ID, or `null` if no ancestors exist, or `false` if the graph cache was unable to determine the answer. |
| int | $bucket_key | Bucket key. |
| int | Number of items to store per bucket. |
| int | $bucket_key | Bucket key, from @{method:getBucketKey}. |
| mixed | $rebuild_data | Current data, to force a cache rebuild of this bucket. |
| array | Data from the cache. |
| int | $bucket_key | Bucket key, from @{method:getBucketKey}. |
| array | $current_data | Existing bucket data. |
| array | Rebuilt bucket data. |
Copyright © LEAD Solutions B.V.