public class DataIngestorPool extends LinkedWorkerPool
next
DEFAULTWORKERS, router
Constructor and Description |
---|
DataIngestorPool()
Starts a new pool with the default number of workers.
|
DataIngestorPool(boolean normalize)
Starts a new pool with the default number of workers.
|
DataIngestorPool(int numWorkers)
Creates a new pool.
|
DataIngestorPool(int numWorkers,
boolean normalize)
Creates a new pool.
|
DataIngestorPool(akka.routing.Pool pool)
Creates a new pool from an existing pool.
|
DataIngestorPool(akka.routing.Pool pool,
boolean normalize)
Creates a new pool from an existing pool.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
onReceive(java.lang.Object message)
Handled Messages
FileMessage - sends to pool for reading
DatasetMessage - sends to the next link
ActorRef - sets the next link
ShutdownMessage - initiates shutdown
|
getNext, getNextActor, setNext, shutdown, tellNextActor, tellNextActor
genMessage, getRouter, setRouter, start, start, start, tellRouter, tellRouter
akka$actor$Actor$_setter_$context_$eq, akka$actor$Actor$_setter_$self_$eq, aroundPostRestart, aroundPostStop, aroundPreRestart, aroundPreStart, aroundReceive, context, getContext, getSelf, getSender, postRestart, postStop, preRestart, preStart, receive, self, sender, supervisorStrategy, unhandled
public DataIngestorPool(int numWorkers, boolean normalize)
numWorkers
- number of workers to createnormalize
- true if data should be normalized between 0 and 1public DataIngestorPool(akka.routing.Pool pool, boolean normalize)
pool
- poolnormalize
- true if data should be normalized between 0 and 1public DataIngestorPool(boolean normalize)
public DataIngestorPool(int numWorkers)
numWorkers
- number of workers to createpublic DataIngestorPool(akka.routing.Pool pool)
pool
- poolpublic DataIngestorPool()
public void onReceive(java.lang.Object message) throws java.lang.Exception
onReceive
in class akka.actor.UntypedActor
java.lang.Exception
public static void main(java.lang.String[] args)