com.ldodds.slug.framework
Interface Consumer

All Superinterfaces:
Component, MemoryHolder
All Known Implementing Classes:
AbstractResponseStorer, DelegatingConsumerImpl, RDFConsumer, ResponseStorer

public interface Consumer
extends MemoryHolder, Component

Consumes the results of carrying out a particular work item. Workers delegate to Consumers to process the results of a particular work item.

Author:
ldodds

Method Summary
 void consume(Task workItem, java.lang.Object results)
           
 void setController(Controller controller)
           
 
Methods inherited from interface com.ldodds.slug.framework.config.MemoryHolder
setMemory
 
Methods inherited from interface com.ldodds.slug.framework.config.Component
configure, isConfigured
 

Method Detail

consume

public void consume(Task workItem,
                    java.lang.Object results)

setController

public void setController(Controller controller)