public static interface ProcessorMetaSupplier.Context
| Modifier and Type | Method and Description |
|---|---|
JetInstance |
jetInstance()
Returns the current Jet instance.
|
int |
localParallelism()
Returns the number of processors that each
ProcessorSupplier
will be asked to create once deserialized on each member. |
ILogger |
logger()
Returns a logger for the associated
ProcessorMetaSupplier. |
int |
totalParallelism()
Returns the total number of
Processors that will be created
across the cluster. |
String |
vertexName()
Returns the name of the associated vertex.
|
@Nonnull JetInstance jetInstance()
int totalParallelism()
Processors that will be created
across the cluster. This number remains stable for entire job
execution.int localParallelism()
ProcessorSupplier
will be asked to create once deserialized on each member. All
members have equal local parallelism; dividing totalParallelism() by local parallelism gives you the participating
member count. The count doesn't change unless the job restarts.Copyright © 2018 Hazelcast, Inc.. All rights reserved.