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

org.infinispan.distexec.DistributedCallable Maven / Gradle / Ivy

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

import java.util.Set;
import java.util.concurrent.Callable;

import org.infinispan.Cache;

/**
 * A task that returns a result and may throw an exception capable of being executed in another JVM.
 * 

* * * @see Callable * * @author Manik Surtani * @author Vladimir Blagojevic * * @since 5.0 * */ public interface DistributedCallable extends Callable { /** * Invoked by execution environment after DistributedCallable has been migrated for execution to * a specific Infinispan node. * * @param cache * cache whose keys are used as input data for this DistributedCallable task * @param inputKeys * keys used as input for this DistributedCallable task */ void setEnvironment(Cache cache, Set inputKeys); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy