public class CKOperation extends NSOperation
| Modifier and Type | Class and Description |
|---|---|
static interface |
CKOperation.Block_longLivedOperationWasPersistedBlock_ret |
static interface |
CKOperation.Block_setLongLivedOperationWasPersistedBlock |
NSOperation.Block_completionBlock_ret, NSOperation.Block_setCompletionBlockNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CKOperation(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static CKOperation |
alloc() |
static CKOperation |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsCellularAccess() |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
CKOperationConfiguration |
configuration()
This defines per-operation configuration settings.
|
CKContainer |
container() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
CKOperationGroup |
group()
The group this operation is associated with
|
static long |
hash_static() |
CKOperation |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isLongLived() |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
CKOperation.Block_longLivedOperationWasPersistedBlock_ret |
longLivedOperationWasPersistedBlock()
This callback is called after a long lived operation has begun running and is persisted.
|
static CKOperation |
new_objc() |
java.lang.String |
operationID()
This is an identifier unique to this CKOperation.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAllowsCellularAccess(boolean value) |
void |
setConfiguration(CKOperationConfiguration value)
This defines per-operation configuration settings.
|
void |
setContainer(CKContainer value) |
void |
setGroup(CKOperationGroup value)
The group this operation is associated with
|
void |
setLongLived(boolean value) |
void |
setLongLivedOperationWasPersistedBlock(CKOperation.Block_setLongLivedOperationWasPersistedBlock value)
This callback is called after a long lived operation has begun running and is persisted.
|
void |
setTimeoutIntervalForRequest(double value) |
void |
setTimeoutIntervalForResource(double value) |
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
double |
timeoutIntervalForRequest() |
double |
timeoutIntervalForResource() |
static long |
version_static() |
addDependency, cancel, completionBlock, dependencies, isAsynchronous, isCancelled, isConcurrent, isExecuting, isFinished, isReady, main, name, qualityOfService, queuePriority, removeDependency, setCompletionBlock, setName, setQualityOfService, setQueuePriority, setThreadPriority, start, threadPriority, waitUntilFinishedaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static CKOperation alloc()
public static CKOperation allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CKOperation new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public boolean allowsCellularAccess()
public CKContainer container()
public CKOperation init()
init in class NSOperationpublic boolean isLongLived()
public void setLongLived(boolean value)
public CKOperation.Block_longLivedOperationWasPersistedBlock_ret longLivedOperationWasPersistedBlock()
Once this callback is called the operation will continue running even if the current process exits. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public java.lang.String operationID()
This value is chosen by the system, and will be unique to this instance of a CKOperation. This identifier will be sent to Apple's servers, and can be used to identify any server-side logging associated with this operation.
public void setAllowsCellularAccess(boolean value)
public void setContainer(CKContainer value)
public void setLongLivedOperationWasPersistedBlock(CKOperation.Block_setLongLivedOperationWasPersistedBlock value)
Once this callback is called the operation will continue running even if the current process exits. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public void setTimeoutIntervalForRequest(double value)
public void setTimeoutIntervalForResource(double value)
public double timeoutIntervalForRequest()
public double timeoutIntervalForResource()
public CKOperationConfiguration configuration()
See the CKOperationConfiguration class description for info on how this configuration composes with CKOperationGroup.defaultConfiguration
public CKOperationGroup group()
public void setConfiguration(CKOperationConfiguration value)
See the CKOperationConfiguration class description for info on how this configuration composes with CKOperationGroup.defaultConfiguration
public void setGroup(CKOperationGroup value)