public class IgfsProcessor extends IgfsProcessorAdapter
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
IgfsProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
ComputeJob |
createJob(IgfsJob job,
String igfsName,
IgfsPath path,
long start,
long len,
IgfsRecordResolver recRslv)
Create compute job for the given IGFS job.
|
Collection<IpcServerEndpoint> |
endpoints(String name)
Gets server endpoints for particular IGFS.
|
IgniteFileSystem |
igfs(String name)
Gets IGFS instance.
|
Collection<IgniteFileSystem> |
igfss()
Gets all IGFS instances.
|
void |
onKernalStart()
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
onKernalStop(boolean cancel)
Callback to notify that kernal is about to stop.
|
void |
printMemoryStats()
Prints memory statistics (sizes of internal structures, etc.).
|
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
assertParameter, collectDiscoveryData, discoveryDataType, onDisconnected, onDiscoveryDataReceived, onReconnected, toString, validateNodepublic IgfsProcessor(GridKernalContext ctx)
ctx - Kernal context.public void start()
throws IgniteCheckedException
start in interface GridComponentstart in class GridProcessorAdapterIgniteCheckedException - Throws in case of any errors.public void onKernalStart()
throws IgniteCheckedException
onKernalStart in interface GridComponentonKernalStart in class GridProcessorAdapterIgniteCheckedException - Thrown in case of any errors.public void stop(boolean cancel)
stop in interface GridComponentstop in class GridProcessorAdaptercancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.public void onKernalStop(boolean cancel)
onKernalStop in interface GridComponentonKernalStop in class GridProcessorAdaptercancel - Flag indicating whether jobs should be canceled.public void printMemoryStats()
printMemoryStats in interface GridComponentprintMemoryStats in class GridProcessorAdapterpublic Collection<IgniteFileSystem> igfss()
igfss in class IgfsProcessorAdapter@Nullable public IgniteFileSystem igfs(@Nullable String name)
igfs in class IgfsProcessorAdaptername - (Nullable) IGFS name.@Nullable public Collection<IpcServerEndpoint> endpoints(@Nullable String name)
endpoints in class IgfsProcessorAdaptername - IGFS name.null in case IGFS is not defined.@Nullable public ComputeJob createJob(IgfsJob job, @Nullable String igfsName, IgfsPath path, long start, long len, IgfsRecordResolver recRslv)
createJob in class IgfsProcessorAdapterjob - IGFS job.igfsName - IGFS name.path - Path.start - Start position.len - Length.recRslv - Record resolver.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016