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