---
title: "readAttributeRebootCount(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclustergeneraldiagnostics/readattributerebootcount(withclusterstatecache:endpoint:queue:completion:)"
---

# readAttributeRebootCount(withClusterStateCache:endpoint:queue:completion:)

## Declaration

```swift
class func readAttributeRebootCount(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
class func readAttributeRebootCount(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
```
