Class CKOperation

    • Constructor Detail

      • CKOperation

        protected CKOperation​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CKOperation allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • allowsCellularAccess

        @Deprecated
        public boolean allowsCellularAccess()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • container

        @Nullable
        @Deprecated
        public @Nullable CKContainer container()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • isLongLived

        @Deprecated
        public boolean isLongLived()
        Deprecated.
        API-Since: 9.3 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • setLongLived

        @Deprecated
        public void setLongLived​(boolean value)
        Deprecated.
        API-Since: 9.3 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • longLivedOperationWasPersistedBlock

        @Nullable
        public @Nullable CKOperation.Block_longLivedOperationWasPersistedBlock_ret longLivedOperationWasPersistedBlock()
        This callback is called after a long lived operation has begun running and is persisted. 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. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation. API-Since: 9.3
      • operationID

        @NotNull
        public @NotNull java.lang.String operationID()
        This is an identifier unique to this CKOperation. 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. API-Since: 9.3
      • setAllowsCellularAccess

        @Deprecated
        public void setAllowsCellularAccess​(boolean value)
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • setContainer

        @Deprecated
        public void setContainer​(@Nullable
                                 @Nullable CKContainer value)
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • setLongLivedOperationWasPersistedBlock

        public void setLongLivedOperationWasPersistedBlock​(@Nullable
                                                           @Nullable CKOperation.Block_setLongLivedOperationWasPersistedBlock value)
        This callback is called after a long lived operation has begun running and is persisted. 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. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation. API-Since: 9.3
      • setTimeoutIntervalForRequest

        @Deprecated
        public void setTimeoutIntervalForRequest​(double value)
        Deprecated.
        API-Since: 10.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • setTimeoutIntervalForResource

        @Deprecated
        public void setTimeoutIntervalForResource​(double value)
        Deprecated.
        API-Since: 10.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • timeoutIntervalForRequest

        @Deprecated
        public double timeoutIntervalForRequest()
        Deprecated.
        API-Since: 10.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • timeoutIntervalForResource

        @Deprecated
        public double timeoutIntervalForResource()
        Deprecated.
        API-Since: 10.0 Deprecated-Since: 11.0 Deprecated-Message: Use CKOperationConfiguration
      • configuration

        public CKOperationConfiguration configuration()
        This defines per-operation configuration settings. See the CKOperationConfiguration class description for info on how this configuration composes with CKOperationGroup.defaultConfiguration API-Since: 11.0
      • group

        @Nullable
        public @Nullable CKOperationGroup group()
        The group this operation is associated with API-Since: 11.0
      • setConfiguration

        public void setConfiguration​(CKOperationConfiguration value)
        This defines per-operation configuration settings. See the CKOperationConfiguration class description for info on how this configuration composes with CKOperationGroup.defaultConfiguration API-Since: 11.0
      • setGroup

        public void setGroup​(@Nullable
                             @Nullable CKOperationGroup value)
        The group this operation is associated with API-Since: 11.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.