$cache | WatchedItemStore | private |
$cacheIndex | WatchedItemStore | private |
$deferredUpdatesAddCallableUpdateCallback | WatchedItemStore | private |
$loadBalancer | WatchedItemStore | private |
$readOnlyMode | WatchedItemStore | private |
$revisionGetTimestampFromIdCallback | WatchedItemStore | private |
$stats | WatchedItemStore | private |
$updateRowsPerQuery | WatchedItemStore | private |
__construct(LoadBalancer $loadBalancer, HashBagOStuff $cache, ReadOnlyMode $readOnlyMode, $updateRowsPerQuery) | WatchedItemStore | |
addWatch(User $user, LinkTarget $target) | WatchedItemStore | |
addWatchBatchForUser(User $user, array $targets) | WatchedItemStore | |
cache(WatchedItem $item) | WatchedItemStore | private |
clearUserWatchedItems(User $user) | WatchedItemStore | |
clearUserWatchedItemsUsingJobQueue(User $user) | WatchedItemStore | |
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 |
getMaxId() | WatchedItemStore | |
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 | |
resetAllNotificationTimestampsForUser(User $user) | WatchedItemStore | |
resetNotificationTimestamp(User $user, Title $title, $force='', $oldid=0) | WatchedItemStore | |
setNotificationTimestampsForUser(User $user, $timestamp, array $targets=[]) | WatchedItemStore | |
setStatsdDataFactory(StatsdDataFactoryInterface $stats) | WatchedItemStore | |
SORT_ASC | WatchedItemStoreInterface | |
SORT_DESC | WatchedItemStoreInterface | |
uncache(User $user, LinkTarget $target) | WatchedItemStore | private |
uncacheAllItemsForUser(User $user) | WatchedItemStore | private |
uncacheLinkTarget(LinkTarget $target) | WatchedItemStore | private |
uncacheUser(User $user) | WatchedItemStore | private |
updateNotificationTimestamp(User $editor, LinkTarget $target, $timestamp) | WatchedItemStore | |