SwiftactorEntityService
GenericEntityCache
actor EntityService.GenericEntityCache
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolEntityService.EntityCache
- protocolSwift.Actor
Members 12
- deinit
deinit - field
var $defaultActor: Builtin.DefaultActorStorage+0x10 - field
let customPolicy: EntityService.CustomCachePolicy+0x78 - field
var storage: [EntityService.EntityID : EntityService.EntityContainer]+0x70 - func
cleanUp() async -> () - func
clear() -> () - func
evict(id: EntityService.EntityID) async -> () - func
get(id: EntityService.EntityID) async -> EntityService.EntityContainer? - func
put(id: EntityService.EntityID, container: EntityService.EntityContainer) async -> () - func
size() -> Int - init
EntityService.GenericEntityCache.__allocating_init(customPolicy: EntityService.CustomCachePolicy) -> EntityService.GenericEntityCache - var
var unownedExecutor: UnownedSerialExecutor { get }
Header
actor GenericEntityCache { var storage: [EntityService.EntityID : EntityService.EntityContainer] let customPolicy: any EntityService.CustomCachePolicy init(customPolicy: any EntityService.CustomCachePolicy) func get(id: EntityService.EntityID) async -> EntityService.EntityContainer? func put(id: EntityService.EntityID, container: EntityService.EntityContainer) async func evict(id: EntityService.EntityID) async func clear() func size() -> Swift.Int func cleanUp() async var unownedExecutor: Swift.UnownedSerialExecutor { get } deinit }