SwiftstructJetEngine
AssetPushSubscriptionSQLiteStore
struct JetEngine.AssetPushSubscriptionSQLiteStore
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolJetEngine.AssetSQLiteDAO
Members 26
- func
static isTableSetUp(JetEngine.SQLiteConnection) throws -> Bool - func
static setupTable(JetEngine.SQLiteConnection) throws -> () - field
let database: JetEngine.AssetSQLiteDatabase+0x0 - field
let dateProvider: JetEngine.DateProvider+0x8 - func
channels(for: String) throws -> [String] - func
create(record: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord - func
delete(id: Int32) throws -> () - func
find(channelIDs: [String]) throws -> [JetEngine.AssetPushSubscriptionRecord] - func
find(identifiers: [(assetURLString: String, usageID: String)]) throws -> [JetEngine.AssetPushSubscriptionRecord] - func
find(id: Int32) throws -> JetEngine.AssetPushSubscriptionRecord? - func
find(bundleID: String, usageID: String) throws -> JetEngine.AssetPushSubscriptionRecord? - func
find(matching: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord? - func
find(channelID: String) throws -> [JetEngine.AssetPushSubscriptionRecord] - func
findAll() throws -> [JetEngine.AssetPushSubscriptionRecord] - func
findAllPending() throws -> [JetEngine.AssetPushSubscriptionRecord] - func
findAllPendingToReattempt() throws -> [JetEngine.AssetPushSubscriptionRecord] - func
findNextSchedule(maxDownloadAttempts: Int32) throws -> JetEngine.AssetNextSchedule? - func
findOverduePendingSubscriptionsToRefresh(maxDownloadAttempts: Int32) throws -> [JetEngine.AssetPushSubscriptionRecord] - func
findPendingSubscriptionsToRefresh() throws -> [JetEngine.AssetPushSubscriptionRecord] - func
incrementDownloadCounter(id: Int32) throws -> () - func
rescheduleForPush304Retry(id: Int32, scheduleAfter: Double, scheduleBefore: Double) throws -> () - func
resetPending(id: Int32) throws -> () - func
resetPending(channelID: String) throws -> () - func
updateRequestHeaders(id: Int32, headers: [String : String]?) throws -> () - func
updateToPending(channelID: String, scheduleAfter: Double, scheduleBefore: Double, priority: Int, timestamp: Foundation.Date, origin: JetEngine.AssetPendingOrigin) throws -> Int - init
init(database: JetEngine.AssetSQLiteDatabase) -> JetEngine.AssetPushSubscriptionSQLiteStore
Header
struct AssetPushSubscriptionSQLiteStore { let database: JetEngine.AssetSQLiteDatabase let dateProvider: any JetEngine.DateProvider init(database: JetEngine.AssetSQLiteDatabase) func resetPending(id: Swift.Int32) throws func resetPending(channelID: Swift.String) throws func findAllPending() throws -> [JetEngine.AssetPushSubscriptionRecord] func updateToPending(channelID: Swift.String, scheduleAfter: Swift.Double, scheduleBefore: Swift.Double, priority: Swift.Int, timestamp: Foundation.Date, origin: JetEngine.AssetPendingOrigin) throws -> Swift.Int func findNextSchedule(maxDownloadAttempts: Swift.Int32) throws -> JetEngine.AssetNextSchedule? func updateRequestHeaders(id: Swift.Int32, headers: [Swift.String : Swift.String]?) throws func incrementDownloadCounter(id: Swift.Int32) throws func findAllPendingToReattempt() throws -> [JetEngine.AssetPushSubscriptionRecord] func rescheduleForPush304Retry(id: Swift.Int32, scheduleAfter: Swift.Double, scheduleBefore: Swift.Double) throws func findPendingSubscriptionsToRefresh() throws -> [JetEngine.AssetPushSubscriptionRecord] func findOverduePendingSubscriptionsToRefresh(maxDownloadAttempts: Swift.Int32) throws -> [JetEngine.AssetPushSubscriptionRecord] func find(channelIDs: [Swift.String]) throws -> [JetEngine.AssetPushSubscriptionRecord] func find(identifiers: [(assetURLString: Swift.String, usageID: Swift.String)]) throws -> [JetEngine.AssetPushSubscriptionRecord] func find(id: Swift.Int32) throws -> JetEngine.AssetPushSubscriptionRecord? func find(bundleID: Swift.String, usageID: Swift.String) throws -> JetEngine.AssetPushSubscriptionRecord? func find(matching: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord? func find(channelID: Swift.String) throws -> [JetEngine.AssetPushSubscriptionRecord] func create(record: JetEngine.AssetPushSubscriptionRecord) throws -> JetEngine.AssetPushSubscriptionRecord func delete(id: Swift.Int32) throws func findAll() throws -> [JetEngine.AssetPushSubscriptionRecord] func channels(for: Swift.String) throws -> [Swift.String] static func setupTable(_: JetEngine.SQLiteConnection) throws static func isTableSetUp(_: JetEngine.SQLiteConnection) throws -> Swift.Bool }