congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AtmosConfig.getProtocol
Code IndexAdd Tabnine to your IDE (free)

How to use
getProtocol
method
in
com.emc.ecs.sync.config.storage.AtmosConfig

Best Java code snippets using com.emc.ecs.sync.config.storage.AtmosConfig.getProtocol (Showing top 2 results out of 315)

origin: EMCECS/ecs-sync

super.configure(source, filters, target);
if (config.getProtocol() == null || config.getHosts() == null || config.getUid() == null || config.getSecret() == null)
  throw new ConfigurationException("must specify endpoints, uid and secret key");
for (String host : config.getHosts()) {
  try {
    endpoints.add(new URI(config.getProtocol().toString(), null, host, config.getPort(), null, null, null));
  } catch (URISyntaxException e) {
    throw new ConfigurationException("invalid host: " + host);
origin: EMCECS/ecs-sync

AtmosConfig atmosTarget = (AtmosConfig) target;
Assert.assertEquals("source protocol mismatch", sourceProtocol, atmosSource.getProtocol());
Assert.assertArrayEquals("source hosts mismatch", sourceHosts, atmosSource.getHosts());
Assert.assertEquals("source port mismatch", sourcePort, atmosSource.getPort());
Assert.assertEquals("source accessType mismatch", sourceAccessType, atmosSource.getAccessType());
Assert.assertTrue("source removeTagsOnDelete should be enabled", atmosSource.isRemoveTagsOnDelete());
Assert.assertEquals("target protocol mismatch", targetProtocol, atmosTarget.getProtocol());
Assert.assertArrayEquals("target hosts mismatch", targetHosts, atmosTarget.getHosts());
Assert.assertEquals("target port mismatch", -1, atmosTarget.getPort());
com.emc.ecs.sync.config.storageAtmosConfiggetProtocol

Popular methods of AtmosConfig

  • getAccessType
  • getHosts
  • getPath
  • getPort
  • getSecret
  • getUid
  • getWsChecksumType
  • isPreserveObjectId
  • isRemoveTagsOnDelete
  • isReplaceMetadata
  • setPath
  • <init>
  • setPath,
  • <init>,
  • bin,
  • getUri,
  • isEncodeUtf8,
  • isIncludeTopFolder,
  • isRetentionEnabled,
  • setAccessType,
  • setHosts

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Best IntelliJ plugins
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