org.terracotta.modules.ehcache.async
Interface ItemProcessor<E extends Serializable>

All Known Implementing Classes:
CacheWriterProcessor

public interface ItemProcessor<E extends Serializable>


Method Summary
 void process(Collection<E> items)
           
 void process(E item)
           
 void throwAway(E item, RuntimeException e)
           
 

Method Detail

process

void process(E item)
             throws ProcessingException
Throws:
ProcessingException

process

void process(Collection<E> items)
             throws ProcessingException
Throws:
ProcessingException

throwAway

void throwAway(E item,
               RuntimeException e)


Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.