Tabnine Logo
GenerationStamp.setCurrentValue
Code IndexAdd Tabnine to your IDE (free)

How to use
setCurrentValue
method
in
org.apache.hadoop.hdfs.server.common.GenerationStamp

Best Java code snippets using org.apache.hadoop.hdfs.server.common.GenerationStamp.setCurrentValue (Showing top 9 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

/**
 * Sets the current generation stamp for legacy blocks
 */
public void setLegacyGenerationStamp(long stamp) {
 legacyGenerationStamp.setCurrentValue(stamp);
}
origin: org.apache.hadoop/hadoop-hdfs

/**
 * Gets the current generation stamp for this filesystem
 */
public void setGenerationStamp(long stamp) {
 generationStamp.setCurrentValue(stamp);
}
origin: org.apache.hadoop/hadoop-hdfs

void clear() {
 legacyGenerationStamp.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
 generationStamp.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
 getBlockIdGenerator().setCurrentValue(SequentialBlockIdGenerator
  .LAST_RESERVED_BLOCK_ID);
 getBlockGroupIdGenerator().setCurrentValue(Long.MIN_VALUE);
 legacyGenerationStampLimit = HdfsConstants.GRANDFATHER_GENERATION_STAMP;
}
origin: io.prestosql.hadoop/hadoop-apache

/**
 * Sets the current generation stamp for legacy blocks
 */
public void setGenerationStampV1(long stamp) {
 generationStampV1.setCurrentValue(stamp);
}
origin: ch.cern.hadoop/hadoop-hdfs

/**
 * Sets the current generation stamp for legacy blocks
 */
public void setGenerationStampV1(long stamp) {
 generationStampV1.setCurrentValue(stamp);
}
origin: ch.cern.hadoop/hadoop-hdfs

/**
 * Gets the current generation stamp for this filesystem
 */
public void setGenerationStampV2(long stamp) {
 generationStampV2.setCurrentValue(stamp);
}
origin: io.prestosql.hadoop/hadoop-apache

/**
 * Gets the current generation stamp for this filesystem
 */
public void setGenerationStampV2(long stamp) {
 generationStampV2.setCurrentValue(stamp);
}
origin: io.prestosql.hadoop/hadoop-apache

 public void clear() {
  generationStampV1.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
  generationStampV2.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
  getBlockIdGenerator().setCurrentValue(SequentialBlockIdGenerator
   .LAST_RESERVED_BLOCK_ID);
  generationStampV1Limit = GenerationStamp.GRANDFATHER_GENERATION_STAMP;
 }
}
origin: ch.cern.hadoop/hadoop-hdfs

 public void clear() {
  generationStampV1.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
  generationStampV2.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
  getBlockIdGenerator().setCurrentValue(SequentialBlockIdGenerator
   .LAST_RESERVED_BLOCK_ID);
  generationStampV1Limit = GenerationStamp.GRANDFATHER_GENERATION_STAMP;
 }
}
org.apache.hadoop.hdfs.server.commonGenerationStampsetCurrentValue

Popular methods of GenerationStamp

  • getCurrentValue
  • nextValue
  • skipTo
  • <init>
    Create a new instance, initialized to the specified value.
  • compare
  • equalsWithWildcard
  • getStamp
    Returns the current generation stamp
  • nextStamp
    First increments the counter and then returns the stamp
  • setStamp
    Sets the current generation stamp

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Permission (java.security)
    Legacy security code; do not use.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top plugins for WebStorm
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