io.github.benas.easybatch.tutorials.jmx
Class GreetingSlowProcessor

java.lang.Object
  extended by io.github.benas.easybatch.core.api.AbstractRecordProcessor<Greeting>
      extended by io.github.benas.easybatch.tutorials.common.GreetingProcessor
          extended by io.github.benas.easybatch.tutorials.jmx.GreetingSlowProcessor
All Implemented Interfaces:
RecordProcessor<Greeting,Object>

public class GreetingSlowProcessor
extends GreetingProcessor

A processor that will generate (slooowly :-) ) a greeting message for each record.

Author:
benas (md.benhassine@gmail.com)

Constructor Summary
GreetingSlowProcessor()
           
 
Method Summary
 void processRecord(Greeting greeting)
           
 
Methods inherited from class io.github.benas.easybatch.core.api.AbstractRecordProcessor
getEasyBatchResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreetingSlowProcessor

public GreetingSlowProcessor()
Method Detail

processRecord

public void processRecord(Greeting greeting)
                   throws Exception
Specified by:
processRecord in interface RecordProcessor<Greeting,Object>
Overrides:
processRecord in class GreetingProcessor
Throws:
Exception


Copyright © 2014. All Rights Reserved.