|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.mapreduce.impl.MapReduceService
public class MapReduceService
The MapReduceService class is the base point for the map reduce implementation. It is used to collect
and control a lot of the basic lifecycle events for JobTracker instances
and their corresponding JobSupervisors.
| Field Summary | |
|---|---|
static String |
SERVICE_NAME
The service name to retrieve an instance of the MapReduceService |
| Constructor Summary | |
|---|---|
MapReduceService(NodeEngine nodeEngine)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SERVICE_NAME
| Constructor Detail |
|---|
public MapReduceService(NodeEngine nodeEngine)
| Method Detail |
|---|
public JobTracker getJobTracker(String name)
public JobSupervisor getJobSupervisor(String name,
String jobId)
public boolean registerJobSupervisorCancellation(String name,
String jobId,
Address jobOwner)
public boolean unregisterJobSupervisorCancellation(String name,
String jobId)
public JobSupervisor createJobSupervisor(JobTaskConfiguration configuration)
public boolean destroyJobSupervisor(JobSupervisor supervisor)
public ExecutorService getExecutorService(String name)
public void init(NodeEngine nodeEngine,
Properties properties)
ManagedService
init in interface ManagedServicenodeEngine - the NodeEngine that this ManagedService belongs to.properties - the Properties. Can be used to pass settings to the service.public void reset()
ManagedService
reset in interface ManagedServicepublic void shutdown(boolean terminate)
ManagedService
shutdown in interface ManagedServiceterminate - true to shut down the ManagedServicepublic DistributedObject createDistributedObject(String objectName)
RemoteService
createDistributedObject in interface RemoteServiceobjectName - the name for the created distributed object
public void destroyDistributedObject(String objectName)
RemoteService
destroyDistributedObject in interface RemoteServiceobjectName - the name of the distributed object to destroypublic Address getKeyMember(Object key)
public boolean checkAssignedMembersAvailable(Collection<Address> assignedMembers)
public <R> R processRequest(Address address,
ProcessingOperation processingOperation)
throws ExecutionException,
InterruptedException
ExecutionException
InterruptedException
public void sendNotification(Address address,
MapReduceNotification notification)
public final Address getLocalAddress()
public NodeEngine getNodeEngine()
public void dispatchEvent(MapReduceNotification notification)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||