appl.parallel.data
Class PartitionHandlerFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionHandlerFactory
public PartitionHandlerFactory()
newInstance
public static PartitionDataHandler newInstance(int rootID,
ClientDataServer client,
Rectangle partitionBounds,
Rectangle unloadBounds)
- Parameters:
rootID
- the id of the datapartitionBounds
- the bounds of the partition to be retrieved on server sideunloadBounds
- the bounds of the partition which is to be uploaded to the
client after calculation
- Returns:
- a new
PartitionDataHandler
instance