public class JetConfig extends Object
Constructor and Description |
---|
JetConfig()
Creates a new, empty
JetConfig with the default configuration. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
EdgeConfig |
getDefaultEdgeConfig()
Returns the default DAG edge configuration.
|
InstanceConfig |
getInstanceConfig()
Returns the Jet instance config.
|
int |
hashCode() |
boolean |
isEnabled()
Returns if Jet is enabled
|
boolean |
isResourceUploadEnabled()
Returns if uploading resources when submitting the job enabled
|
JetConfig |
setDefaultEdgeConfig(EdgeConfig defaultEdgeConfig)
Sets the configuration object that specifies the defaults to use
for a DAG edge configuration.
|
JetConfig |
setEnabled(boolean enabled)
Sets if Jet is enabled
|
JetConfig |
setInstanceConfig(InstanceConfig instanceConfig)
Sets the Jet instance config.
|
JetConfig |
setResourceUploadEnabled(boolean resourceUploadEnabled)
Sets if uploading resources when submitting the job enabled
|
public JetConfig()
JetConfig
with the default configuration.
Doesn't consider any configuration XML files.public boolean isEnabled()
public JetConfig setEnabled(boolean enabled)
public boolean isResourceUploadEnabled()
public JetConfig setResourceUploadEnabled(boolean resourceUploadEnabled)
@Nonnull public InstanceConfig getInstanceConfig()
@Nonnull public JetConfig setInstanceConfig(@Nonnull InstanceConfig instanceConfig)
@Nonnull public EdgeConfig getDefaultEdgeConfig()
@Nonnull public JetConfig setDefaultEdgeConfig(@Nonnull EdgeConfig defaultEdgeConfig)
Copyright © 2021 Hazelcast, Inc.. All rights reserved.