Aggregator
on IMap.
For general data processing, it is superseded by Hazelcast Jet.@Deprecated public enum TopologyChangedStrategy extends Enum<TopologyChangedStrategy>
TopologyChangedException
, but it is possible
to submit the same job configuration again if
JobTracker.getTrackableJob(String)
returns null for the requested job ID.Enum Constant and Description |
---|
CANCEL_RUNNING_OPERATION
Deprecated.
Default behavior.
|
DISCARD_AND_RESTART
Deprecated.
Attention: This strategy is currently not available but
reserved for later usage!
Some or all processed data and intermediate results are discarded and the job is automatically restarted. Depending on the implementation, the job might start from an earlier reached safepoint and is not restarted at the beginning. |
MIGRATE_AND_CONTINUE
Deprecated.
Attention: This strategy is currently not available but
reserved for later usage!
Currently running processes define a safepoint, migrate gracefully and continue their work on new partition owners. If a member lefts the cluster intermediately reduced data are lost! |
Modifier and Type | Method and Description |
---|---|
static TopologyChangedStrategy |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TopologyChangedStrategy[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopologyChangedStrategy CANCEL_RUNNING_OPERATION
TopologyChangedException
is thrown on the job owning
node.public static final TopologyChangedStrategy DISCARD_AND_RESTART
public static final TopologyChangedStrategy MIGRATE_AND_CONTINUE
public static TopologyChangedStrategy[] values()
for (TopologyChangedStrategy c : TopologyChangedStrategy.values()) System.out.println(c);
public static TopologyChangedStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.