ArcGIS Runtime SDK for iOS: AGSOperationQueue Class Reference
ArcGIS Runtime SDK for iOS  100.13
AGSOperationQueue Class Reference

Description

A lightweight operation queue that supports AGSOperations. Similar to NSOperationQueue, but lighter weight and does not support operation dependencies.

Since
100
Inheritance diagram for AGSOperationQueue:

Instance Methods

(void) - addOperation:
 
(void) - cancelAllOperations
 
(void) - waitUntilAllOperationsAreFinished
 

Class Methods

(instancetype) + sharedOperationQueue
 

Properties

NSUInteger maxConcurrentOperationCount
 
NSArray< id< AGSOperation > > * operations
 
NSQualityOfService qualityOfService
 

Method Documentation

◆ addOperation:

- (void) addOperation: (id< AGSOperation >)  op

Adds an operation to the queue. An operation should only be added to a single queue.

Since
100

◆ cancelAllOperations

- (void) cancelAllOperations

Cancels all operations in the queue.

Since
100

◆ sharedOperationQueue

+ (instancetype) sharedOperationQueue

Returns an instance of an operation queue that can be shared throughout an application.

Since
100

◆ waitUntilAllOperationsAreFinished

- (void) waitUntilAllOperationsAreFinished

Blocks until all the operations in the queue are done executing.

Since
100

Property Documentation

◆ maxConcurrentOperationCount

- (NSUInteger) maxConcurrentOperationCount
readwritenonatomicassign

The number of concurrent operations that can be running at one time. 0 is the default. A value of 0 means that an unlimited amount of operations can be executing concurrently.

Since
100

◆ operations

- (NSArray<id<AGSOperation> >*) operations
readnonatomiccopy

The operations that have been added to this queue.

Since
100

◆ qualityOfService

- (NSQualityOfService) qualityOfService
readwritenonatomicassign

The QOS of the dispatch queue that is used for executing synchronous AGSOperations.

Since
100