ArcGIS Runtime SDK for iOS: AGSOperationQueue.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSOperationQueue.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <Foundation/Foundation.h>
20 @protocol AGSOperation;
21 
22 
23 
29 @interface AGSOperationQueue : NSObject
30 
35 +(instancetype)sharedOperationQueue;
36 
41 @property (nonatomic, copy, readonly) NSArray<id<AGSOperation>> *operations;
42 
48 @property (nonatomic, assign, readwrite) NSUInteger maxConcurrentOperationCount;
49 
54 @property (nonatomic, assign, readwrite) NSQualityOfService qualityOfService;
55 
59 -(void)addOperation:(id<AGSOperation>)op;
60 
64 -(void)cancelAllOperations;
65 
70 
71 @end
72 
73 
NSArray< id< AGSOperation > > * operations
Definition: AGSOperationQueue.h:41
Definition: AGSOperation.h:36
Definition: AGSOperationQueue.h:29
instancetype sharedOperationQueue()
void waitUntilAllOperationsAreFinished()
NSQualityOfService qualityOfService
Definition: AGSOperationQueue.h:54
NSUInteger maxConcurrentOperationCount
Definition: AGSOperationQueue.h:48