Interface CasProcessor

    • Method Detail

      • isStateless

        boolean isStateless()
        Gets whether this is a stateless CAS Processor. Stateless CAS Processors do not maintain any data between calls to their process methods.
        Returns:
        true if this CAS processor is stateless, false if it is stateful.
      • isReadOnly

        boolean isReadOnly()
        Gets whether this is a read-only CAS Processor, which does not modify the CAS.
        Returns:
        true if this CAS processor does not modify the CAS, false if it does.
      • getProcessingResourceMetaData

        ProcessingResourceMetaData getProcessingResourceMetaData()
        Gets the metadata that describes this CasProcesor.
        Returns:
        an object containing all metadata for this CasProcessor
      • batchProcessComplete

        void batchProcessComplete​(ProcessTrace aTrace)
                           throws ResourceProcessException,
                                  IOException
        Completes the processing of a batch. A collection may be divided into one or more batches - it is up to the CollectionProcessingManager or the application to determine the number and size of batches.
        Parameters:
        aTrace - an object that records information, such as timing, about this method's execution.
        Throws:
        ResourceProcessException - if an exception occurs during processing
        IOException - if an I/O failure occurs