de.flapdoodle.embedmongo.io
Class BlockLogWatchProcessor

java.lang.Object
  extended by de.flapdoodle.embedmongo.io.BlockLogWatchProcessor
All Implemented Interfaces:
IBlockProcessor

public class BlockLogWatchProcessor
extends Object
implements IBlockProcessor


Constructor Summary
BlockLogWatchProcessor(String success, String failure, IBlockProcessor destination)
           
 
Method Summary
 String getOutput()
           
 boolean isInitWithSuccess()
           
 void onProcessed()
           
 void process(String block)
           
 void waitForResult(long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockLogWatchProcessor

public BlockLogWatchProcessor(String success,
                              String failure,
                              IBlockProcessor destination)
Method Detail

process

public void process(String block)
Specified by:
process in interface IBlockProcessor

onProcessed

public void onProcessed()
Specified by:
onProcessed in interface IBlockProcessor

waitForResult

public void waitForResult(long timeout)

isInitWithSuccess

public boolean isInitWithSuccess()

getOutput

public String getOutput()


Copyright © 2012. All Rights Reserved.