com.cliftonsnyder.clutch.mr.task
Interface MapTaskFactory
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- AbstractMapTaskFactory
public interface MapTaskFactory
- extends java.io.Serializable
An interface representing things that create MapTasks
- Author:
- Clifton L. Snyder
createMapTask
MapTask createMapTask()
throws java.io.IOException
- Throws:
java.io.IOException
createMapTask
MapTask createMapTask(long offset,
long length)
throws java.io.IOException
- Throws:
java.io.IOException
getMapTask
MapTask getMapTask(java.lang.String requestId)
throws java.io.IOException
- Throws:
java.io.IOException
getMapTask
MapTask getMapTask(java.lang.String requestId,
long offset,
long length)
throws java.io.IOException
- Throws:
java.io.IOException
init
void init()
putMapTask
void putMapTask(MapTask task)
setState
void setState(ClutchState state)