appl.parallel.data
Class PartitionHandlerFactory

java.lang.Object
  extended by appl.parallel.data.PartitionHandlerFactory

public class PartitionHandlerFactory
extends Object

Reads out of XuluConfig which PartitionDataHandler needs to be used for data loading/unloading and constructs an instance of this class. The classname is read out of the property

Parallel.partitionhandlerfactory.classname

Author:
Dominik Appl

Constructor Summary
PartitionHandlerFactory()
           
 
Method Summary
static PartitionDataHandler newInstance(int rootID, ClientDataServer client, Rectangle partitionBounds, Rectangle unloadBounds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionHandlerFactory

public PartitionHandlerFactory()
Method Detail

newInstance

public static PartitionDataHandler newInstance(int rootID,
                                               ClientDataServer client,
                                               Rectangle partitionBounds,
                                               Rectangle unloadBounds)
Parameters:
rootID - the id of the data
partitionBounds - the bounds of the partition to be retrieved on server side
unloadBounds - the bounds of the partition which is to be uploaded to the client after calculation
Returns:
a new PartitionDataHandler instance