gov.bnl.star.offline.scheduler.dataset.datasetManipulators
Class SplitByMinMaxEntries

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.dataset.datasetManipulators.SplitByMinMaxEntries
All Implemented Interfaces:
DatasetManipulator

public class SplitByMinMaxEntries
extends java.lang.Object
implements DatasetManipulator

Add markers to the dataset that show where it should be split.

Author:
Levente B. Hajdu

Constructor Summary
SplitByMinMaxEntries(int min, int max)
          Creates a new instance of SplitByMinMaxEntries
 
Method Summary
 void modify(Dataset dataset, Request request)
          Used to pass the dataset to the dataset manipulator
 boolean requirementsSatisfied()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitByMinMaxEntries

public SplitByMinMaxEntries(int min,
                            int max)
Creates a new instance of SplitByMinMaxEntries

Parameters:
min - The minimum size of any one block of entries
max - The maximum size of any one block of entries
Method Detail

modify

public void modify(Dataset dataset,
                   Request request)
Used to pass the dataset to the dataset manipulator

Specified by:
modify in interface DatasetManipulator
Parameters:
dataset - The dataset to be modifyed
request - The request object of the current request for with will use the dataset

requirementsSatisfied

public boolean requirementsSatisfied()
Specified by:
requirementsSatisfied in interface DatasetManipulator


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.