Codota Logo
ImmutableTimestampSupplier
Code IndexAdd Codota to your IDE (free)

How to use
ImmutableTimestampSupplier
in
com.palantir.atlasdb.sweep.queue

Best Java code snippets using com.palantir.atlasdb.sweep.queue.ImmutableTimestampSupplier (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: palantir/atlasdb

  private void execute(Set<TableReference> tables, Consumer<Set<TableReference>> destructiveAction) {
    Set<TableReference> conservativeTables = getConservativeTables(tables);
    Set<TableReference> safeTables = Sets.difference(tables, conservativeTables);

    destructiveAction.accept(safeTables);

    if (conservativeTables.isEmpty()) {
      return;
    }

    long immutableTimestamp = immutableTimestampSupplier.getImmutableTimestamp();

    destructiveAction.accept(conservativeTables);

    watermarkStore.updateWatermarks(immutableTimestamp, conservativeTables);
  }
}
origin: com.palantir.atlasdb/atlasdb-impl-shared

  private void execute(Set<TableReference> tables, Consumer<Set<TableReference>> destructiveAction) {
    Set<TableReference> conservativeTables = getConservativeTables(tables);
    Set<TableReference> safeTables = Sets.difference(tables, conservativeTables);

    destructiveAction.accept(safeTables);

    if (conservativeTables.isEmpty()) {
      return;
    }

    long immutableTimestamp = immutableTimestampSupplier.getImmutableTimestamp();

    destructiveAction.accept(conservativeTables);

    watermarkStore.updateWatermarks(immutableTimestamp, conservativeTables);
  }
}
com.palantir.atlasdb.sweep.queueImmutableTimestampSupplier

Most used methods

  • getImmutableTimestamp

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now