Class AbstractSearchIterativeResultHandler<O extends ObjectType>

    • Field Detail

      • WORKER_THREAD_WAIT_FOR_REQUEST

        public static final int WORKER_THREAD_WAIT_FOR_REQUEST
        See Also:
        Constant Field Values
      • REQUEST_QUEUE_OFFER_TIMEOUT

        protected static final long REQUEST_QUEUE_OFFER_TIMEOUT
        See Also:
        Constant Field Values
    • Method Detail

      • getProcessShortName

        protected String getProcessShortName()
      • getProcessShortNameCapitalized

        protected String getProcessShortNameCapitalized()
      • getContextDesc

        public String getContextDesc()
      • setContextDesc

        public void setContextDesc​(String contextDesc)
      • getCoordinatorTask

        public Task getCoordinatorTask()
      • getTaskOperationPrefix

        public String getTaskOperationPrefix()
      • isLogObjectProgress

        public boolean isLogObjectProgress()
      • setLogObjectProgress

        public void setLogObjectProgress​(boolean logObjectProgress)
      • isRecordIterationStatistics

        public boolean isRecordIterationStatistics()
      • setRecordIterationStatistics

        public void setRecordIterationStatistics​(boolean recordIterationStatistics)
      • isEnableIterationStatistics

        public boolean isEnableIterationStatistics()
      • setEnableIterationStatistics

        public void setEnableIterationStatistics​(boolean enableIterationStatistics)
      • isEnableSynchronizationStatistics

        public boolean isEnableSynchronizationStatistics()
      • setEnableSynchronizationStatistics

        public void setEnableSynchronizationStatistics​(boolean enableSynchronizationStatistics)
      • isEnableActionsExecutedStatistics

        public boolean isEnableActionsExecutedStatistics()
      • setEnableActionsExecutedStatistics

        public void setEnableActionsExecutedStatistics​(boolean enableActionsExecutedStatistics)
      • handle

        public boolean handle​(PrismObject<O> object,
                              OperationResult parentResult)
        Description copied from interface: ResultHandler
        Handle a single result.
        Specified by:
        handle in interface ResultHandler<O extends ObjectType>
        Parameters:
        object - Resource object to process.
        Returns:
        true if the operation should proceed, false if it should stop
      • signalAllItemsSubmitted

        public void signalAllItemsSubmitted()
      • getAverageTime

        public Float getAverageTime()
      • getWallAverageTime

        public Float getWallAverageTime()
      • getWallTime

        public long getWallTime()
      • waitForCompletion

        public void waitForCompletion​(OperationResult opResult)
      • updateOperationResult

        public void updateOperationResult​(OperationResult opResult)
      • heartbeat

        public long heartbeat()
      • getProgress

        public long getProgress()
      • getErrors

        public long getErrors()
      • isStopOnError

        public boolean isStopOnError()
      • setStopOnError

        public void setStopOnError​(boolean stopOnError)
      • isLogErrors

        public boolean isLogErrors()
      • setLogErrors

        public void setLogErrors​(boolean logErrors)
      • getWorkerThreadsCount

        protected Integer getWorkerThreadsCount​(Task task)