Package com.hazelcast.jet.config
Class DeltaJobConfig
java.lang.Object
com.hazelcast.jet.config.DeltaJobConfig
- All Implemented Interfaces:
DataSerializable
,IdentifiedDataSerializable
Contains a configuration change for
JobConfig
. All options are
initially unchanged, options for which the set-method is called will be
changed when this delta is applied
, others will
be unaffected.
Contains only a subset of options - those that can be changed after the job was submitted.
- Since:
- 5.3
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies the changes represented by this instance to the specified configuration.boolean
int
Returns type identifier for this class.int
Returns DataSerializableFactory factory ID for this class.int
hashCode()
void
Reads fields from the input streamsetAutoScaling
(boolean enabled) setMaxProcessorAccumulatedRecords
(long maxProcessorAccumulatedRecords) setMetricsEnabled
(boolean enabled) setSnapshotIntervalMillis
(long snapshotInterval) setSplitBrainProtection
(boolean isEnabled) setStoreMetricsAfterJobCompletion
(boolean storeMetricsAfterJobCompletion) setSuspendOnFailure
(boolean suspendOnFailure) setTimeoutMillis
(long timeoutMillis) toString()
void
Writes object fields to output stream
-
Constructor Details
-
DeltaJobConfig
public DeltaJobConfig()
-
-
Method Details
-
setSnapshotIntervalMillis
- Returns:
this
instance for fluent API- See Also:
-
setAutoScaling
- Returns:
this
instance for fluent API- See Also:
-
setSuspendOnFailure
- Returns:
this
instance for fluent API- See Also:
-
setSplitBrainProtection
- Returns:
this
instance for fluent API- See Also:
-
setMetricsEnabled
- Returns:
this
instance for fluent API- See Also:
-
setStoreMetricsAfterJobCompletion
- Returns:
this
instance for fluent API- See Also:
-
setMaxProcessorAccumulatedRecords
- Returns:
this
instance for fluent API- See Also:
-
setTimeoutMillis
- Returns:
this
instance for fluent API- See Also:
-
applyTo
Applies the changes represented by this instance to the specified configuration. -
getFactoryId
Description copied from interface:IdentifiedDataSerializable
Returns DataSerializableFactory factory ID for this class.- Specified by:
getFactoryId
in interfaceIdentifiedDataSerializable
- Returns:
- factory ID
-
getClassId
Description copied from interface:IdentifiedDataSerializable
Returns type identifier for this class. It should be unique per DataSerializableFactory.- Specified by:
getClassId
in interfaceIdentifiedDataSerializable
- Returns:
- type ID
-
writeData
Description copied from interface:DataSerializable
Writes object fields to output stream- Specified by:
writeData
in interfaceDataSerializable
- Parameters:
out
- output- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the output stream has been closed.
-
readData
Description copied from interface:DataSerializable
Reads fields from the input stream- Specified by:
readData
in interfaceDataSerializable
- Parameters:
in
- input- Throws:
IOException
- if an I/O error occurs. In particular, anIOException
may be thrown if the input stream has been closed.
-
equals
-
hashCode
public int hashCode() -
toString
-