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

org.infinispan.jcache.SuccessEntryProcessorResult Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.jcache;

import javax.cache.processor.EntryProcessorException;
import javax.cache.processor.EntryProcessorResult;

/**
 * Successful entry processor result wrapper.
 *
 * @author Galder Zamarreño
 * @since 7.0
 */
public class SuccessEntryProcessorResult implements EntryProcessorResult {

   private final T result;

   public SuccessEntryProcessorResult(T result) {
      this.result = result;
   }

   @Override
   public T get() throws EntryProcessorException {
      return result;
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy