com.daveayan.fuzzyavenger.providers.akka
Class AkkaExecutionProvider

java.lang.Object
  extended by com.daveayan.fuzzyavenger.providers.akka.AkkaExecutionProvider
All Implemented Interfaces:
ExecutionProvider

public class AkkaExecutionProvider
extends Object
implements ExecutionProvider


Field Summary
 akka.actor.ActorRef shutdownCommandListener
           
 akka.actor.ActorSystem system
           
 
Constructor Summary
AkkaExecutionProvider()
           
 
Method Summary
 void initialize()
           
static ExecutionProvider newInstance()
           
 List<Object> run(List<Object> data, List<Object> parameters, Function<?,?> functionToApply, int numberOfWorkers, int numberOfSecondsTimeout)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shutdownCommandListener

public akka.actor.ActorRef shutdownCommandListener

system

public akka.actor.ActorSystem system
Constructor Detail

AkkaExecutionProvider

public AkkaExecutionProvider()
Method Detail

newInstance

public static ExecutionProvider newInstance()

initialize

public void initialize()
Specified by:
initialize in interface ExecutionProvider

run

public List<Object> run(List<Object> data,
                        List<Object> parameters,
                        Function<?,?> functionToApply,
                        int numberOfWorkers,
                        int numberOfSecondsTimeout)
Specified by:
run in interface ExecutionProvider

shutdown

public void shutdown()
Specified by:
shutdown in interface ExecutionProvider


Copyright © July 2014-2014. All Rights Reserved.