Codota Logo
AdminProtos$FlushRegionResponse$Builder.setWroteFlushWalMarker
Code IndexAdd Codota to your IDE (free)

How to use
setWroteFlushWalMarker
method
in
org.apache.hadoop.hbase.protobuf.generated.AdminProtos$FlushRegionResponse$Builder

Best Java code snippets using org.apache.hadoop.hbase.protobuf.generated.AdminProtos$FlushRegionResponse$Builder.setWroteFlushWalMarker (Showing top 6 results out of 315)

  • Common ways to obtain AdminProtos$FlushRegionResponse$Builder
private void myMethod () {
AdminProtos$FlushRegionResponse$Builder a =
  • Codota Iconnew Builder()
  • Codota IconAdminProtos.FlushRegionResponse adminProtosFlushRegionResponse;AdminProtos.FlushRegionResponse other;adminProtosFlushRegionResponse.newBuilder().mergeFrom(other)
  • Smart code suggestions by Codota
}
origin: harbby/presto-connectors

 private FlushRegionResponse flushRegion() throws IOException {
  // check whether we should still do the flush to this region. If the regions are changed due
  // to splits or merges, etc return success
  if (!Bytes.equals(location.getRegionInfo().getRegionName(), regionName)) {
   if (!reload) {
    throw new IOException("Cached location seems to be different than requested region.");
   }
   LOG.info("Skipping flush region, because the located region "
     + Bytes.toStringBinary(location.getRegionInfo().getRegionName()) + " is different than "
     + " requested region " + Bytes.toStringBinary(regionName));
   return FlushRegionResponse.newBuilder()
     .setLastFlushTime(EnvironmentEdgeManager.currentTime())
     .setFlushed(false)
     .setWroteFlushWalMarker(false)
     .build();
  }

  FlushRegionRequest request =
    RequestConverter.buildFlushRegionRequest(regionName, writeFlushWalMarker);

  try {
   PayloadCarryingRpcController controller = rpcControllerFactory.newController();
   controller.setPriority(tableName);
   return stub.flushRegion(controller, request);
  } catch (ServiceException se) {
   throw ProtobufUtil.getRemoteException(se);
  }
 }
}
origin: apache/hbase

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse.getDefaultInstance()) return this;
 if (other.hasLastFlushTime()) {
  setLastFlushTime(other.getLastFlushTime());
 }
 if (other.hasFlushed()) {
  setFlushed(other.getFlushed());
 }
 if (other.hasWroteFlushWalMarker()) {
  setWroteFlushWalMarker(other.getWroteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: org.apache.hbase/hbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse.getDefaultInstance()) return this;
 if (other.hasLastFlushTime()) {
  setLastFlushTime(other.getLastFlushTime());
 }
 if (other.hasFlushed()) {
  setFlushed(other.getFlushed());
 }
 if (other.hasWroteFlushWalMarker()) {
  setWroteFlushWalMarker(other.getWroteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: harbby/presto-connectors

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse.getDefaultInstance()) return this;
 if (other.hasLastFlushTime()) {
  setLastFlushTime(other.getLastFlushTime());
 }
 if (other.hasFlushed()) {
  setFlushed(other.getFlushed());
 }
 if (other.hasWroteFlushWalMarker()) {
  setWroteFlushWalMarker(other.getWroteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: com.aliyun.hbase/alihbase-protocol

public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse other) {
 if (other == org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponse.getDefaultInstance()) return this;
 if (other.hasLastFlushTime()) {
  setLastFlushTime(other.getLastFlushTime());
 }
 if (other.hasFlushed()) {
  setFlushed(other.getFlushed());
 }
 if (other.hasWroteFlushWalMarker()) {
  setWroteFlushWalMarker(other.getWroteFlushWalMarker());
 }
 this.mergeUnknownFields(other.getUnknownFields());
 return this;
}
origin: harbby/presto-connectors

builder.setWroteFlushWalMarker(flushResult.wroteFlushWalMarker);
org.apache.hadoop.hbase.protobuf.generatedAdminProtos$FlushRegionResponse$BuildersetWroteFlushWalMarker

Javadoc

optional bool wrote_flush_wal_marker = 3;

Popular methods of AdminProtos$FlushRegionResponse$Builder

  • <init>
  • buildPartial
  • create
  • hasLastFlushTime
    required uint64 last_flush_time = 1;
  • maybeForceBuilderInitialization
  • mergeFrom
  • mergeUnknownFields
  • newUninitializedMessageException
  • onBuilt
  • onChanged
  • setFlushed
    optional bool flushed = 2;
  • setLastFlushTime
    required uint64 last_flush_time = 1;
  • setFlushed,
  • setLastFlushTime,
  • build

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
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