Tabnine Logo
BroadcastVariableKey.toString
Code IndexAdd Tabnine to your IDE (free)

How to use
toString
method
in
org.apache.flink.runtime.broadcast.BroadcastVariableKey

Best Java code snippets using org.apache.flink.runtime.broadcast.BroadcastVariableKey.toString (Showing top 8 results out of 315)

origin: org.apache.flink/flink-runtime_2.11

private boolean decrementReferenceInternal(BatchTask<?, ?> referenceHolder, boolean errorIfNoReference) {
  synchronized (references) {
    if (disposed || references.isEmpty()) {
      if (errorIfNoReference) {
        throw new IllegalStateException("Decrementing reference to broadcast variable that is no longer alive.");
      } else {
        return false;
      }
    }
    if (!references.remove(referenceHolder)) {
      if (errorIfNoReference) {
        throw new IllegalStateException(
            String.format("The task %s did not hold a reference to the broadcast variable %s.",
                referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
                key.toString()));
      } else {
        return false;
      }
    }
    if (references.isEmpty()) {
      disposed = true;
      data = null;
      transformed = null;
      return true;
    } else {
      return false;
    }
  }
}
origin: org.apache.flink/flink-runtime_2.10

      String.format("The task %s did not hold a reference to the broadcast variable %s.",
          referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
          key.toString()));
} else {
  return false;
origin: org.apache.flink/flink-runtime

private boolean decrementReferenceInternal(BatchTask<?, ?> referenceHolder, boolean errorIfNoReference) {
  synchronized (references) {
    if (disposed || references.isEmpty()) {
      if (errorIfNoReference) {
        throw new IllegalStateException("Decrementing reference to broadcast variable that is no longer alive.");
      } else {
        return false;
      }
    }
    if (!references.remove(referenceHolder)) {
      if (errorIfNoReference) {
        throw new IllegalStateException(
            String.format("The task %s did not hold a reference to the broadcast variable %s.",
                referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
                key.toString()));
      } else {
        return false;
      }
    }
    if (references.isEmpty()) {
      disposed = true;
      data = null;
      transformed = null;
      return true;
    } else {
      return false;
    }
  }
}
origin: com.alibaba.blink/flink-runtime

private boolean decrementReferenceInternal(BatchTask<?, ?> referenceHolder, boolean errorIfNoReference) {
  synchronized (references) {
    if (disposed || references.isEmpty()) {
      if (errorIfNoReference) {
        throw new IllegalStateException("Decrementing reference to broadcast variable that is no longer alive.");
      } else {
        return false;
      }
    }
    if (!references.remove(referenceHolder)) {
      if (errorIfNoReference) {
        throw new IllegalStateException(
            String.format("The task %s did not hold a reference to the broadcast variable %s.",
                referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
                key.toString()));
      } else {
        return false;
      }
    }
    if (references.isEmpty()) {
      disposed = true;
      data = null;
      transformed = null;
      return true;
    } else {
      return false;
    }
  }
}
origin: org.apache.flink/flink-runtime_2.11

String.format("The task %s already holds a reference to the broadcast variable %s.",
    referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
    key.toString()));
origin: com.alibaba.blink/flink-runtime

String.format("The task %s already holds a reference to the broadcast variable %s.",
    referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
    key.toString()));
origin: org.apache.flink/flink-runtime_2.10

String.format("The task %s already holds a reference to the broadcast variable %s.",
    referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
    key.toString()));
origin: org.apache.flink/flink-runtime

String.format("The task %s already holds a reference to the broadcast variable %s.",
    referenceHolder.getEnvironment().getTaskInfo().getTaskNameWithSubtasks(),
    key.toString()));
org.apache.flink.runtime.broadcastBroadcastVariableKeytoString

Popular methods of BroadcastVariableKey

  • <init>

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • Menu (java.awt)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • 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
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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