org.infinispan.jcache.SuccessEntryProcessorResult Maven / Gradle / Ivy
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