Objective-CclassPhotoLibraryServices
PLBackgroundJobService
@interface PLBackgroundJobService : NSObject <PFCameraViewfinderSessionWatcherDelegate, PFStateCaptureProvider, PLBackgroundJobCoordinatorDelegate>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolPFStateCaptureProvider
Members 111
- method
+ (BOOL)_stateIsReadyForSubmission:(unsigned long long)arg0; - method
+ (BOOL)_stateIsReadyToRun:(unsigned long long)arg0; - method
+ (BOOL)verifyStateTransitionFromState:(unsigned long long)arg0 toState:(unsigned long long)arg1; - ivar
NSMutableDictionary *_cachedCriteriaForPendingWorkers;+0x48 - ivar
BOOL _cameraForeground;+0xb8 - ivar
PFCameraViewfinderSessionWatcher *_cameraWatcher;+0x58 - ivar
PLBackgroundJobCoordinator *_coordinator;+0x28 - ivar
NSMutableSet *_inq_completedCriteriaInCurrentSession;+0xf8 - ivar
NSObject<OS_dispatch_queue> *_isolationQueue;+0x88 - ivar
PLLazyObject *_lazyProcessingSetURL;+0x68 - ivar
NSDictionary *_libraryInvalidationCompletionHandlerByLibraryURL;+0x60 - ivar
NSPointerArray *_observers;+0x100 - ivar
PLBackgroundJobCriteria *_pausedCriteria;+0x38 - ivar
NSMutableDictionary *_processingSet;+0x70 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _processingSetLock;+0x80 - ivar
NSMutableSet *_registeredTaskIdentifiers;+0x78 - ivar
PLBackgroundJobCriteria *_runningCriteria;+0x30 - ivar
BGSystemTask *_runningTask;+0x8 - ivar
NSObject<OS_dispatch_source> *_runningTaskDeferTimer;+0x90 - ivar
NSNumber *_simulateDASDeferral;+0xb0 - ivar
PFStateCaptureHandler *_stateCaptureHandler;+0xc0 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _stateLock;+0x10 - ivar
unsigned long long _stateLock_state;+0x18 - ivar
PLBackgroundJobStatusCenter *_statusCenter;+0x20 - ivar
PFCoalescer *_submissionCoalescer;+0x50 - ivar
NSMutableDictionary *_throughputMetricsCache;+0xe8 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _throughputMetricsCacheLock;+0xf0 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _timerLock;+0xa0 - ivar
NSMutableDictionary *_timerLock_signalAgainTimersByWorkerType;+0xa8 - ivar
NSObject<OS_dispatch_queue> *_timerQueue;+0x98 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _watchdogTimerLock;+0xc8 - ivar
NSDate *_watchdogTimerLock_dateOfWatchdogTimerStart;+0xd0 - ivar
double _watchdogTimerLock_submissionCoalescerPushBackTimeInterval;+0xd8 - ivar
NSString *_watchdogTimerLock_watchdogTimerSourceDescription;+0xe0 - ivar
NSArray *_workerClasses;+0x40 - method
- (void).cxx_destruct; - method
- (void)_appendTaskMetadataToProcessingSet:(id)arg0; - method
- (id)_bundlePathsByTaskIdentifier; - method
- (void)_closePendingThroughputReports; - method
- (void)_fireWatchdogTimerWithStartTime:(id)arg0 startingPushBackTimeInterval:(double)arg1 sourceDescription:(id)arg2; - method
- (id)_getBundleRecordsFromProcessingSetForAllCriterias; - method
- (id)_getBundlesByTaskIdentifier; - method
- (id)_getCriteriaByTaskIdentifier; - method
- (id)_getProcessingSetURL; - method
- (id)_getTaskMetadataForTaskIdentifier:(id)arg0; - method
- (id)_inq_createCoordinatorWithCriteria:(id)arg0; - method
- (void)_inq_deregisterTaskIdentifierIfNeeded:(id)arg0; - method
- (void)_inq_finishTaskIfNeededShouldDefer:(BOOL)arg0; - method
- (BOOL)_inq_hasBundleRecordsInProcessingSet; - method
- (id)_inq_pendingJobsForBundle:(id)arg0 workerTypes:(id)arg1 currentCriteria:(id)arg2; - method
- (id)_inq_pendingJobsOnBuffer:(id)arg0 currentCriteria:(id)arg1; - method
- (id)_inq_pendingJobsOnBundles:(id)arg0 currentCriteria:(id)arg1; - method
- (void)_inq_registerTaskIdentifierIfNeeded:(id)arg0; - method
- (void)_inq_removeCriteriaFromCachedCriteria:(id)arg0; - method
- (void)_inq_resolvePendingInvalidationsForLibraryURLs:(id)arg0; - method
- (void)_inq_runTask:(id)arg0; - method
- (void)_inq_setServiceState:(unsigned long long)arg0; - method
- (void)_inq_shutdownShouldDefer:(BOOL)arg0; - method
- (void)_inq_startPollingForTaskStatus; - method
- (void)_inq_stopPollingForTaskStatus; - method
- (void)_inq_stopRunningBackgroundJobsWithCoordinator:(id)arg0; - method
- (void)_inq_submitBackgroundProcessingNeededForBuffer:(id)arg0 context:(id)arg1; - method
- (BOOL)_inq_submitCriteriaFromProcessingSet; - method
- (void)_inq_submitPendingJobsIfNecessary:(id)arg0; - method
- (void)_inq_submitTaskWithCriteria:(id)arg0; - method
- (void)_inq_timerQueue_timerEventHandlerWithTimer:(id)arg0 workerType:(unsigned long long)arg1; - method
- (void)_inq_updateCameraForegroundState:(BOOL)arg0; - method
- (void)_invalidateSignalNeededForCrashRecoveryOnBundle:(id)arg0; - method
- (void)_noteSignalNeededForCrashRecoveryOnBundle:(id)arg0; - method
- (id)_readProcessingSet; - method
- (void)_removeAllBundlesFromProcessingSet; - method
- (void)_removeAllBundlesFromProcessingSetForTaskIdentifier:(id)arg0; - method
- (void)_reportProgressWithType:(unsigned long long)arg0 itemCount:(unsigned long long)arg1 category:(id)arg2; - method
- (void)_setRunningCriteria:(id)arg0; - method
- (void)_setServiceState:(unsigned long long)arg0; - method
- (BOOL)_signalNeededOnBundle:(id)arg0; - method
- (void)_signalWorkerAtDate:(id)arg0 workerType:(unsigned long long)arg1 bundle:(id)arg2; - method
- (void)_simulateBGSTShouldExpire:(BOOL)arg0; - method
- (void)_startPollingForTaskStatus; - method
- (void)_startRunningBackgroundJobsWithCriteria:(id)arg0; - method
- (void)_submitTaskWithoutCoalescingIfNecessaryOnBundle:(id)arg0; - method
- (void)_withProcessingSetLocked:(id /* block */)arg0; - method
- (id)_workersForBundle:(id)arg0; - method
- (void)_writeProcessingSet:(id)arg0; - method
- (void)cameraWatcherDidChangeState:(id)arg0; - method
- (void)coordinatorFinishedJobsOnAllSubmittedBundlesWithDeferral:(BOOL)arg0; - method
- (void)coordinatorFinishedJobsOnSubmittedBundle:(id)arg0; - method
- (void)finishTaskIfNeededShouldDefer_enqueue:(BOOL)arg0; - method
- (id)init; - method
- (id)initWithWorkerClasses:(id)arg0 statusCenter:(id)arg1; - method
- (void)invalidateLibraryBundle:(id)arg0 completion:(id /* block */)arg1; - method
- (id)observers; - method
- (void)performCrashRecoveryIfNeededOnBundle:(id)arg0; - method
- (void)prepareForProcessTermination; - method
- (unsigned long long)serviceState; - method
- (void)setObservers:(id)arg0; - method
- (void)signalBackgroundProcessingNeededOnBundle:(id)arg0; - method
- (void)signalBackgroundProcessingNeededOnBundle:(id)arg0 workerTypes:(id)arg1; - method
- (void)signalBackgroundProcessingNeededOnLibrary:(id)arg0; - method
- (void)signalBackgroundProcessingNeededOnLibrary:(id)arg0 workerTypes:(id)arg1; - method
- (void)start; - method
- (void)startWatchdogTimerIfNeededWithSourceDescription:(id)arg0; - method
- (id)stateCaptureDictionary; - method
- (id)statusCenterDump; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(retain, nonatomic) NSPointerArray *observers; - property
@property(readonly) unsigned long long serviceState; - property
@property(readonly) NSDictionary *statusCenterDump; - property
@property(readonly) Class superclass;
Header
@interface PLBackgroundJobService : NSObject <PFCameraViewfinderSessionWatcherDelegate, PFStateCaptureProvider, PLBackgroundJobCoordinatorDelegate> { BGSystemTask *_runningTask; struct os_unfair_lock_s _stateLock; unsigned long long _stateLock_state; PLBackgroundJobStatusCenter *_statusCenter; PLBackgroundJobCoordinator *_coordinator; PLBackgroundJobCriteria *_runningCriteria; PLBackgroundJobCriteria *_pausedCriteria; NSArray *_workerClasses; NSMutableDictionary *_cachedCriteriaForPendingWorkers; PFCoalescer *_submissionCoalescer; PFCameraViewfinderSessionWatcher *_cameraWatcher; NSDictionary *_libraryInvalidationCompletionHandlerByLibraryURL; PLLazyObject *_lazyProcessingSetURL; NSMutableDictionary *_processingSet; NSMutableSet *_registeredTaskIdentifiers; struct os_unfair_lock_s _processingSetLock; NSObject<OS_dispatch_queue> *_isolationQueue; NSObject<OS_dispatch_source> *_runningTaskDeferTimer; NSObject<OS_dispatch_queue> *_timerQueue; struct os_unfair_lock_s _timerLock; NSMutableDictionary *_timerLock_signalAgainTimersByWorkerType; NSNumber *_simulateDASDeferral; BOOL _cameraForeground; PFStateCaptureHandler *_stateCaptureHandler; struct os_unfair_lock_s _watchdogTimerLock; NSDate *_watchdogTimerLock_dateOfWatchdogTimerStart; double _watchdogTimerLock_submissionCoalescerPushBackTimeInterval; NSString *_watchdogTimerLock_watchdogTimerSourceDescription; NSMutableDictionary *_throughputMetricsCache; struct os_unfair_lock_s _throughputMetricsCacheLock; NSMutableSet *_inq_completedCriteriaInCurrentSession; NSPointerArray *_observers; } @property (nonatomic, strong) NSPointerArray *observers; @property (readonly) NSDictionary *statusCenterDump; @property (readonly) unsigned long long serviceState; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (BOOL)_stateIsReadyForSubmission:(unsigned long long)submission; + (BOOL)_stateIsReadyToRun:(unsigned long long)run; + (BOOL)verifyStateTransitionFromState:(unsigned long long)state toState:(unsigned long long)toState; - (id)stateCaptureDictionary; - (void)_withProcessingSetLocked:(id /* block */)_withProcessingSetLocked; - (void)_setRunningCriteria:(id)runningCriteria; - (unsigned long long)serviceState; - (BOOL)_inq_hasBundleRecordsInProcessingSet; - (id)_getBundlesByTaskIdentifier; - (id)_getBundleRecordsFromProcessingSetForAllCriterias; - (void)_inq_runTask:(id)_inq_runTask; - (void)_invalidateSignalNeededForCrashRecoveryOnBundle:(id)bundle; - (void)start; - (BOOL)_inq_submitCriteriaFromProcessingSet; - (id)_getCriteriaByTaskIdentifier; - (void)_setServiceState:(unsigned long long)serviceState; - (void)signalBackgroundProcessingNeededOnBundle:(id)bundle workerTypes:(id)workerTypes; - (void)_inq_updateCameraForegroundState:(BOOL)_inq_updateCameraForegroundState; - (void)_startPollingForTaskStatus; - (void)_startRunningBackgroundJobsWithCriteria:(id)criteria; - (id)_workersForBundle:(id)bundle; - (void)_removeAllBundlesFromProcessingSet; - (void)_inq_setServiceState:(unsigned long long)_inq_setServiceState; - (void)_inq_stopPollingForTaskStatus; - (void)startWatchdogTimerIfNeededWithSourceDescription:(id)sourceDescription; - (void)_removeAllBundlesFromProcessingSetForTaskIdentifier:(id)taskIdentifier; - (void)_inq_removeCriteriaFromCachedCriteria:(id)cachedCriteria; - (id)_getTaskMetadataForTaskIdentifier:(id)taskIdentifier; - (id)_readProcessingSet; - (void)_reportProgressWithType:(unsigned long long)type itemCount:(unsigned long long)itemCount category:(id)category; - (id)statusCenterDump; - (void).cxx_destruct; - (void)_inq_registerTaskIdentifierIfNeeded:(id)_inq_registerTaskIdentifierIfNeeded; - (void)coordinatorFinishedJobsOnAllSubmittedBundlesWithDeferral:(BOOL)deferral; - (void)_simulateBGSTShouldExpire:(BOOL)_simulateBGSTShouldExpire; - (void)signalBackgroundProcessingNeededOnLibrary:(id)library; - (void)_inq_submitPendingJobsIfNecessary:(id)_inq_submitPendingJobsIfNecessary; - (id)_inq_createCoordinatorWithCriteria:(id)criteria; - (void)_appendTaskMetadataToProcessingSet:(id)processingSet; - (void)_inq_submitBackgroundProcessingNeededForBuffer:(id)buffer context:(id)context; - (BOOL)_signalNeededOnBundle:(id)bundle; - (void)coordinatorFinishedJobsOnSubmittedBundle:(id)submittedBundle; - (void)setObservers:(id)observers; - (void)_inq_timerQueue_timerEventHandlerWithTimer:(id)timer workerType:(unsigned long long)workerType; - (void)cameraWatcherDidChangeState:(id)cameraWatcherDidChangeState; - (void)_noteSignalNeededForCrashRecoveryOnBundle:(id)bundle; - (void)_closePendingThroughputReports; - (id)_inq_pendingJobsForBundle:(id)bundle workerTypes:(id)workerTypes currentCriteria:(id)currentCriteria; - (void)signalBackgroundProcessingNeededOnLibrary:(id)library workerTypes:(id)workerTypes; - (id)observers; - (id)_bundlePathsByTaskIdentifier; - (id)_inq_pendingJobsOnBuffer:(id)buffer currentCriteria:(id)currentCriteria; - (void)_submitTaskWithoutCoalescingIfNecessaryOnBundle:(id)bundle; - (void)_inq_startPollingForTaskStatus; - (void)_fireWatchdogTimerWithStartTime:(id)startTime startingPushBackTimeInterval:(double)startingPushBackTimeInterval sourceDescription:(id)sourceDescription; - (id)_inq_pendingJobsOnBundles:(id)bundles currentCriteria:(id)currentCriteria; - (void)_inq_stopRunningBackgroundJobsWithCoordinator:(id)coordinator; - (void)_inq_shutdownShouldDefer:(BOOL)_inq_shutdownShouldDefer; - (id)init; - (id)initWithWorkerClasses:(id)workerClasses statusCenter:(id)statusCenter; - (void)performCrashRecoveryIfNeededOnBundle:(id)bundle; - (void)_inq_submitTaskWithCriteria:(id)criteria; - (void)_writeProcessingSet:(id)_writeProcessingSet; - (void)_signalWorkerAtDate:(id)date workerType:(unsigned long long)workerType bundle:(id)bundle; - (void)_inq_deregisterTaskIdentifierIfNeeded:(id)_inq_deregisterTaskIdentifierIfNeeded; - (void)signalBackgroundProcessingNeededOnBundle:(id)bundle; - (void)_inq_resolvePendingInvalidationsForLibraryURLs:(id)libraryURLs; - (void)finishTaskIfNeededShouldDefer_enqueue:(BOOL)finishTaskIfNeededShouldDefer_enqueue; - (void)invalidateLibraryBundle:(id)invalidateLibraryBundle completion:(id /* block */)completion; - (void)_inq_finishTaskIfNeededShouldDefer:(BOOL)_inq_finishTaskIfNeededShouldDefer; - (void)prepareForProcessTermination; - (id)_getProcessingSetURL; @end