All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.terracotta.modules.ehcache.async.ItemProcessor Maven / Gradle / Ivy

/*
 * All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
 */
package org.terracotta.modules.ehcache.async;

import org.terracotta.modules.ehcache.async.exceptions.ProcessingException;

import java.io.Serializable;
import java.util.Collection;

public interface ItemProcessor {
  public void process(E item) throws ProcessingException;

  public void process(Collection items) throws ProcessingException;

  public void throwAway(E item, RuntimeException e);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy