$cache | WatchedItemStore | private |
$cacheIndex | WatchedItemStore | private |
$deferredUpdatesAddCallableUpdateCallback | WatchedItemStore | private |
$loadBalancer | WatchedItemStore | private |
$revisionGetTimestampFromIdCallback | WatchedItemStore | private |
$stats | WatchedItemStore | private |
__construct(LoadBalancer $loadBalancer, HashBagOStuff $cache) | WatchedItemStore | |
addWatch(User $user, LinkTarget $target) | WatchedItemStore | |
addWatchBatchForUser(User $user, array $targets) | WatchedItemStore | |
cache(WatchedItem $item) | WatchedItemStore | private |
countUnreadNotifications(User $user, $unreadLimit=null) | WatchedItemStore | |
countVisitingWatchers(LinkTarget $target, $threshold) | WatchedItemStore | |
countVisitingWatchersMultiple(array $targetsWithVisitThresholds, $minimumWatchers=null) | WatchedItemStore | |
countWatchedItems(User $user) | WatchedItemStore | |
countWatchers(LinkTarget $target) | WatchedItemStore | |
countWatchersMultiple(array $targets, array $options=[]) | WatchedItemStore | |
dbCond(User $user, LinkTarget $target) | WatchedItemStore | private |
duplicateAllAssociatedEntries(LinkTarget $oldTarget, LinkTarget $newTarget) | WatchedItemStore | |
duplicateEntry(LinkTarget $oldTarget, LinkTarget $newTarget) | WatchedItemStore | |
getCached(User $user, LinkTarget $target) | WatchedItemStore | private |
getCacheKey(User $user, LinkTarget $target) | WatchedItemStore | private |
getConnectionRef($dbIndex) | WatchedItemStore | private |
getNotificationTimestamp(User $user, Title $title, $item, $force, $oldid) | WatchedItemStore | private |
getNotificationTimestampsBatch(User $user, array $targets) | WatchedItemStore | |
getVisitingWatchersCondition(IDatabase $db, array $targetsWithVisitThresholds) | WatchedItemStore | private |
getWatchedItem(User $user, LinkTarget $target) | WatchedItemStore | |
getWatchedItemsForUser(User $user, array $options=[]) | WatchedItemStore | |
isWatched(User $user, LinkTarget $target) | WatchedItemStore | |
loadWatchedItem(User $user, LinkTarget $target) | WatchedItemStore | |
overrideDeferredUpdatesAddCallableUpdateCallback(callable $callback) | WatchedItemStore | |
overrideRevisionGetTimestampFromIdCallback(callable $callback) | WatchedItemStore | |
removeWatch(User $user, LinkTarget $target) | WatchedItemStore | |
resetNotificationTimestamp(User $user, Title $title, $force= '', $oldid=0) | WatchedItemStore | |
setNotificationTimestampsForUser(User $user, $timestamp, array $targets=[]) | WatchedItemStore | |
setStatsdDataFactory(StatsdDataFactoryInterface $stats) | WatchedItemStore | |
SORT_ASC | WatchedItemStore | |
SORT_DESC | WatchedItemStore | |
uncache(User $user, LinkTarget $target) | WatchedItemStore | private |
uncacheLinkTarget(LinkTarget $target) | WatchedItemStore | private |
uncacheUser(User $user) | WatchedItemStore | private |
updateNotificationTimestamp(User $editor, LinkTarget $target, $timestamp) | WatchedItemStore | |