luxlabs header browser preview


@class NSDate, NSString, CPLSyncSession, NSArray, NSMutableDictionary, NSCountedSet, CPLEngineLibrary, CPLPlatformObject, NSObject, NSMutableSet;
@protocol OS_dispatch_queue;

@interface CPLEngineScheduler : NSObject <CPLAbstractObject, CPLEngineComponent> {
    NSDate *_preparingFirstSessionStartDate;
    unsigned long long _requiredFirstState;
    unsigned long long _lastRequestGeneration;
    unsigned long long _currentRequestGeneration;
    BOOL _needsToUpdateLastSyncDate;
    CPLSyncSession *_nextSession;
    double _intervalForRetry;
    NSDate *_proposedScheduleDate;
    NSObject<OS_dispatch_queue> *_queue;
    unsigned long long _currentSyncState;
    unsigned long long _pendingRequiredFirstState;
    BOOL _shouldNoteServerHasChanges;
    CPLSyncSession *_currentSession;
    BOOL _opened;
    NSDate *_unavailabilityLimitDate;
    NSString *_unavailabilityReason;
    unsigned long long _foregroundCalls;
    NSCountedSet *_disablingReasons;
    NSCountedSet *_blockingElements;
    NSMutableDictionary *_blockedElements;
    NSMutableSet *_blockWaiters;
    NSCountedSet *_unblockOnceElements;
    NSObject<OS_dispatch_queue> *_blockingLock;
    unsigned long long _significantWorkCalls;
    unsigned long long _disablingMinglingCount;
    NSDate *_lastSyncSessionDateCausedByForeground;
    NSDate *_deferDate;
    BOOL _protectAgainstFastRelaunch;
    BOOL _didWriteFirstSyncMarker;
    BOOL _delayedFirstSyncBecauseOfRapidLaunch;
    BOOL _isOverridingForeground;
    NSDate *_lastSuccessfulSyncSessionDate;
    NSArray *_lastSessionInformation;
    NSArray *_lastScopeIdentifiersExcludedFromPushToTransport;
    NSArray *_lastScopeIdentifiersExludedFromMingling;
    id _syncObserver;
}

@property (readonly, weak, nonatomic) CPLEngineLibrary *engineLibrary;
@property (copy, nonatomic) id /* block */ requiredStateObserverBlock;
@property (copy, nonatomic) id /* block */ shouldBackOffOnErrorBlock;
@property (readonly, nonatomic) unsigned long long requiredState;
@property (readonly, nonatomic) CPLPlatformObject *platformObject;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (id)validElements;
+ (id)platformImplementationProtocol;

- (void)disableMingling;
- (id)componentName;
- (void)testKey:(id)a0 value:(id)a1 completionHandler:(id /* block */)a2;
- (void)unblockEngineElement:(id)a0;
- (id)_minimalDateForFirstSync;
- (void)_setRequiredFirstState:(unsigned long long)a0;
- (void)noteClientIsInSyncWithClientCache;
- (void)_writeFirstSynchronizationMarker;
- (void)noteContainerHasBeenWiped;
- (void)noteClientIsInBackground;
- (void)noteServerIsUnavailableWithError:(id)a0;
- (void)openWithCompletionHandler:(id /* block */)a0;
- (void)_prepareFirstSession;
- (BOOL)waitForEngineElementToBeBlocked:(id)a0 timeout:(double)a1;
- (void)getStatusDictionaryWithCompletionHandler:(id /* block */)a0;
- (void)noteSyncSession:(id)a0 failedDuringPhase:(unsigned long long)a1 withError:(id)a2;
- (void)noteResourceDownloadQueueIsFull;
- (void)_disableSynchronizationWithReasonLocked:(id)a0;
- (void)willRunEngineElement:(id)a0;
- (void)noteServerHasChanges;
- (void)noteClientIsBeginningSignificantWork;
- (void)_startRequiredSyncSession:(id)a0;
- (void)kickOffSyncSession;
- (void)_backOff;
- (void)_reallyNoteServerHasChangesLocked;
- (void)noteScopeNeedsToPullFromTransport;
- (void)noteNetworkStateDidChange;
- (void)_handleResetCloudCacheWithError:(id)a0 completionHandler:(id /* block */)a1;
- (void)disableSynchronizationWithReason:(id)a0;
- (void)resetBackoffInterval;
- (void)_reallyUnscheduleSession;
- (void)_scheduleNextSyncSession;
- (BOOL)_syncSessionIsPossible;
- (id)_pathToFirstSynchronizationMarker;
- (void)_handleResetAnchorWithError:(id)a0 completionHandler:(id /* block */)a1;
- (void)_handleResetGlobalAnchorWithError:(id)a0 completionHandler:(id /* block */)a1;
- (id)initWithEngineLibrary:(id)a0;
- (void)_noteSyncSessionNeededFromState:(unsigned long long)a0 proposedScheduleDate:(id)a1;
- (void)_disableFastRelaunchProtection;
- (void)closeAndDeactivate:(BOOL)a0 completionHandler:(id /* block */)a1;
- (void)unblockEngineElementOnce:(id)a0;
- (void)_noteServerIsUnavailableWithErrorLocked:(id)a0 reason:(id)a1;
- (void)_updateOverridingForeground;
- (void)noteQuotaHasChanged;
- (void)noteSyncSessionSucceeded:(id)a0;
- (void)_updateLastSyncDateIfNecessaryLocked;
- (void)enableSynchronizationWithReason:(id)a0;
- (void).cxx_destruct;
- (void)_handleResetClientCacheWithError:(id)a0 completionHandler:(id /* block */)a1;
- (void)noteStoreNeedsCleanup;
- (void)noteStoreNeedsSetup;
- (void)getStatusWithCompletionHandler:(id /* block */)a0;
- (void)noteScopeNeedsToPushHighPriorityToTransport;
- (void)noteScopeListNeedsUpdate;
- (void)noteClientNeedsToPull;
- (void)_unscheduleNextSyncSession;
- (void)noteClientIsInForegroundQuietly:(BOOL)a0;
- (void)_startSyncSession:(id)a0 withMinimalPhase:(unsigned long long)a1 rewind:(BOOL)a2;
- (void)noteStoreNeedsToUpdateDisabledFeatures;
- (void)noteClientIsNotInSyncWithClientCache;
- (void)_keepSessionInformation:(id)a0;
- (void)getCurrentRequiredStateWithCompletionHandler:(id /* block */)a0;
- (void)blockAllSyncSessionsWithReason:(id)a0 onlyIfBlocked:(BOOL)a1 block:(id /* block */)a2;
- (void)enableMingling;
- (void)forceStartSyncSession:(id)a0 withMinimalPhase:(unsigned long long)a1;
- (void)_noteSyncSessionNeededFromStateDontRewindImmediately:(unsigned long long)a0;
- (void)noteTransportNeedsUpdate;
- (void)noteScopeNeedsToPushToTransport;
- (BOOL)isClientInForeground;
- (void)noteScopeNeedsUpdate;
- (BOOL)isMinglingEnabled;
- (void)disableSynchronizationIfBlockedWithReason:(id)a0 completionHandler:(id /* block */)a1;
- (void)_disableSynchronizationBecauseContainerHasBeenWipedLocked;
- (void)noteServerMightBeAvailableNow;
- (void)noteClientIsEndingSignificantWork;
- (void)noteSyncSession:(id)a0 stateWillBeAttempted:(unsigned long long)a1;
- (void)_stopPreparingFirstSession;
- (void)_disableRetryAfterLocked;
- (void)startRequiredSyncSessionNow:(id)a0;
- (void)_resetFirstSynchronizationMarker;
- (void)_enableSynchronizationWithReasonLocked:(id)a0;
- (BOOL)isSynchronizationDisabledWithReasonError:(id *)a0;
- (void)_reallyStartSyncSession:(id)a0;
- (void)blockEngineElement:(id)a0;

@end