congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ExecutionConfig.isClosureCleanerEnabled
Code IndexAdd Tabnine to your IDE (free)

How to use
isClosureCleanerEnabled
method
in
org.apache.flink.api.common.ExecutionConfig

Best Java code snippets using org.apache.flink.api.common.ExecutionConfig.isClosureCleanerEnabled (Showing top 9 results out of 315)

origin: apache/flink

public <F> F clean(F f) {
  if (getExecutionEnvironment().getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  } else {
    ClosureCleaner.ensureSerializable(f);
  }
  return f;
}
origin: apache/flink

/**
 * Returns a "closure-cleaned" version of the given function. Cleans only if closure cleaning
 * is not disabled in the {@link org.apache.flink.api.common.ExecutionConfig}
 */
@Internal
public <F> F clean(F f) {
  if (getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  }
  ClosureCleaner.ensureSerializable(f);
  return f;
}
origin: apache/flink

assertEquals(config, copy2);
assertEquals(closureCleanerEnabled, copy1.isClosureCleanerEnabled());
assertEquals(forceAvroEnabled, copy1.isForceAvroEnabled());
assertEquals(forceKryoEnabled, copy1.isForceKryoEnabled());
origin: org.apache.flink/flink-java

public <F> F clean(F f) {
  if (getExecutionEnvironment().getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  } else {
    ClosureCleaner.ensureSerializable(f);
  }
  return f;
}
origin: DTStack/flinkx

/**
 * Returns a "closure-cleaned" version of the given function. Cleans only if closure cleaning
 * is not disabled in the {@link org.apache.flink.api.common.ExecutionConfig}
 */
@Internal
public <F> F clean(F f) {
  if (getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  }
  ClosureCleaner.ensureSerializable(f);
  return f;
}
origin: org.apache.flink/flink-streaming-java

/**
 * Returns a "closure-cleaned" version of the given function. Cleans only if closure cleaning
 * is not disabled in the {@link org.apache.flink.api.common.ExecutionConfig}
 */
@Internal
public <F> F clean(F f) {
  if (getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  }
  ClosureCleaner.ensureSerializable(f);
  return f;
}
origin: org.apache.flink/flink-streaming-java_2.11

/**
 * Returns a "closure-cleaned" version of the given function. Cleans only if closure cleaning
 * is not disabled in the {@link org.apache.flink.api.common.ExecutionConfig}
 */
@Internal
public <F> F clean(F f) {
  if (getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  }
  ClosureCleaner.ensureSerializable(f);
  return f;
}
origin: com.alibaba.blink/flink-java

public <F> F clean(F f) {
  if (getExecutionEnvironment().getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  } else {
    ClosureCleaner.ensureSerializable(f);
  }
  return f;
}
origin: org.apache.flink/flink-streaming-java_2.10

/**
 * Returns a "closure-cleaned" version of the given function. Cleans only if closure cleaning
 * is not disabled in the {@link org.apache.flink.api.common.ExecutionConfig}
 */
@Internal
public <F> F clean(F f) {
  if (getConfig().isClosureCleanerEnabled()) {
    ClosureCleaner.clean(f, true);
  }
  ClosureCleaner.ensureSerializable(f);
  return f;
}
org.apache.flink.api.commonExecutionConfigisClosureCleanerEnabled

Javadoc

Returns whether the ClosureCleaner is enabled.

Popular methods of ExecutionConfig

  • <init>
  • isObjectReuseEnabled
    Returns whether object reuse has been enabled or disabled. @see #enableObjectReuse()
  • disableSysoutLogging
    Disables the printing of progress update messages to System.out
  • getAutoWatermarkInterval
    Returns the interval of the automatic watermark emission.
  • setGlobalJobParameters
    Register a custom, serializable user configuration object.
  • enableObjectReuse
    Enables reusing objects that Flink internally uses for deserialization and passing data to user-code
  • setAutoWatermarkInterval
    Sets the interval of the automatic watermark emission. Watermarks are used throughout the streaming
  • disableObjectReuse
    Disables reusing objects that Flink internally uses for deserialization and passing data to user-cod
  • getRestartStrategy
    Returns the restart strategy which has been set for the current job.
  • isSysoutLoggingEnabled
    Gets whether progress update messages should be printed to System.out
  • registerKryoType
    Registers the given type with the serialization stack. If the type is eventually serialized as a POJ
  • registerTypeWithKryoSerializer
    Registers the given Serializer via its class as a serializer for the given type at the KryoSerialize
  • registerKryoType,
  • registerTypeWithKryoSerializer,
  • setRestartStrategy,
  • getParallelism,
  • addDefaultKryoSerializer,
  • getGlobalJobParameters,
  • getNumberOfExecutionRetries,
  • getRegisteredKryoTypes,
  • setParallelism,
  • getDefaultKryoSerializerClasses

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Runner (org.openjdk.jmh.runner)
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now