public interface GridGgfsTaskArgs<T>
GridGgfs.execute(...) methods,
all passed parameters are encapsulated in a single GridGgfsTaskArgs object. Later on this object is
passed to GridGgfsTask.createJob(GridGgfsPath, GridGgfsFileRange, GridGgfsTaskArgs) method.
Task arguments encapsulates the following data:
GridGgfs.execute() methodGridGgfsRecordResolver for that taskGridGgfsConfiguration.getMaximumTaskRangeLength())| Modifier and Type | Method and Description |
|---|---|
String |
ggfsName()
Gets GGFS name.
|
long |
maxRangeLength()
Optional maximum allowed range length,
0 by default. |
Collection<GridGgfsPath> |
paths()
Gets file paths to process.
|
GridGgfsRecordResolver |
recordResolver()
Gets record resolver for the task.
|
boolean |
skipNonExistentFiles()
Flag indicating whether to fail or simply skip non-existent files.
|
T |
userArgument()
User argument provided for task execution.
|
String ggfsName()
Collection<GridGgfsPath> paths()
GridGgfsRecordResolver recordResolver()
boolean skipNonExistentFiles()
True if non-existent files should be skipped.T userArgument()
long maxRangeLength()
0 by default. If not specified, full range including
all consecutive blocks will be used without any limitations.Copyright © 2014. All rights reserved.