public static interface Processor.Context extends ProcessorSupplier.Context
init() call.| Modifier and Type | Method and Description |
|---|---|
int |
globalProcessorIndex()
Returns the index of the processor among all the processors created for
this vertex on all nodes: its unique cluster-wide index.
|
ILogger |
logger()
Return a logger for the processor
|
ProcessingGuarantee |
processingGuarantee()
Returns the guarantee for current job.
|
default boolean |
snapshottingEnabled()
Returns true, if snapshots will be saved for this job.
|
jetInstance, localParallelism, totalParallelism, vertexName@Nonnull ILogger logger()
logger in interface ProcessorMetaSupplier.Contextlogger in interface ProcessorSupplier.Contextint globalProcessorIndex()
The index values will be in the range of [0...totalParallelism-1].
default boolean snapshottingEnabled()
ProcessingGuarantee processingGuarantee()
Copyright © 2018 Hazelcast, Inc.. All rights reserved.