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

How to use
LocationMode
in
com.microsoft.azure.storage

Best Java code snippets using com.microsoft.azure.storage.LocationMode (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: com.microsoft.azure/azure-storage

/**
 * Sets the {@link LocationMode} for this request.
 * <p>
 * The default {@link LocationMode} is set in the client and is by default {@link LocationMode#PRIMARY_ONLY}. You
 * can change the {@link LocationMode} on this request by setting this property. You can also change the value on
 * the {@link ServiceClient#getDefaultRequestOptions()} object so that all subsequent requests made via the service
 * client will use that {@link LocationMode}.
 * 
 * @param locationMode
 *            the locationMode to set
 */
@Override
public final void setLocationMode(final LocationMode locationMode) {
  if (locationMode != null && !locationMode.equals(LocationMode.PRIMARY_ONLY)) {
    throw new UnsupportedOperationException(SR.PRIMARY_ONLY_COMMAND);
  }
  super.setLocationMode(locationMode);
}
origin: Azure/azure-storage-android

  /**
   * Sets the {@link LocationMode} for this request.
   * <p>
   * The default {@link LocationMode} is set in the client and is by default {@link LocationMode#PRIMARY_ONLY}. You
   * can change the {@link LocationMode} on this request by setting this property. You can also change the value on
   * the {@link ServiceClient#getDefaultRequestOptions()} object so that all subsequent requests made via the service
   * client will use that {@link LocationMode}.
   * 
   * @param locationMode
   *            the locationMode to set
   */
  @Override
  public final void setLocationMode(final LocationMode locationMode) {
    if (locationMode != null && !locationMode.equals(LocationMode.PRIMARY_ONLY)) {
      throw new UnsupportedOperationException(SR.PRIMARY_ONLY_COMMAND);
    }

    super.setLocationMode(locationMode);
  }
}
com.microsoft.azure.storageLocationMode

Javadoc

Specifies the location mode used to decide which location the request should be sent to.

Most used methods

  • equals

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ImageIO (javax.imageio)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
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