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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies the changes represented by this instance to the specified configuration.booleanintReturns type identifier for this class.intReturns DataSerializableFactory factory ID for this class.inthashCode()voidReads 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()voidWrites object fields to output stream
-
Constructor Details
-
DeltaJobConfig
public DeltaJobConfig()
-
-
Method Details
-
setSnapshotIntervalMillis
- Returns:
thisinstance for fluent API- See Also:
-
setAutoScaling
- Returns:
thisinstance for fluent API- See Also:
-
setSuspendOnFailure
- Returns:
thisinstance for fluent API- See Also:
-
setSplitBrainProtection
- Returns:
thisinstance for fluent API- See Also:
-
setMetricsEnabled
- Returns:
thisinstance for fluent API- See Also:
-
setStoreMetricsAfterJobCompletion
- Returns:
thisinstance for fluent API- See Also:
-
setMaxProcessorAccumulatedRecords
- Returns:
thisinstance for fluent API- See Also:
-
setTimeoutMillis
- Returns:
thisinstance for fluent API- See Also:
-
applyTo
Applies the changes represented by this instance to the specified configuration. -
getFactoryId
Description copied from interface:IdentifiedDataSerializableReturns DataSerializableFactory factory ID for this class.- Specified by:
getFactoryIdin interfaceIdentifiedDataSerializable- Returns:
- factory ID
-
getClassId
Description copied from interface:IdentifiedDataSerializableReturns type identifier for this class. It should be unique per DataSerializableFactory.- Specified by:
getClassIdin interfaceIdentifiedDataSerializable- Returns:
- type ID
-
writeData
Description copied from interface:DataSerializableWrites object fields to output stream- Specified by:
writeDatain interfaceDataSerializable- Parameters:
out- output- Throws:
IOException- if an I/O error occurs. In particular, anIOExceptionmay be thrown if the output stream has been closed.
-
readData
Description copied from interface:DataSerializableReads fields from the input stream- Specified by:
readDatain interfaceDataSerializable- Parameters:
in- input- Throws:
IOException- if an I/O error occurs. In particular, anIOExceptionmay be thrown if the input stream has been closed.
-
equals
-
hashCode
public int hashCode() -
toString
-