---
title: "readAttributeLifetimeRunningHours(withAttributeCache:endpoint:queue:completionHandler:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterpumpconfigurationandcontrol/readattributelifetimerunninghours(withattributecache:endpoint:queue:completionhandler:)"
---

# readAttributeLifetimeRunningHours(withAttributeCache:endpoint:queue:completionHandler:)

## Declaration

```swift
class func readAttributeLifetimeRunningHours(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completionHandler: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
class func readAttributeLifetimeRunningHours(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
```
