You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2019/02/01 15:20:07 UTC
svn commit: r1852756 - in /jclouds/site-content: community/index.html
start/blobstore/index.html
Author: nacx
Date: Fri Feb 1 15:20:07 2019
New Revision: 1852756
URL: http://svn.apache.org/viewvc?rev=1852756&view=rev
Log:
deploy jclouds site content
Modified:
jclouds/site-content/community/index.html
jclouds/site-content/start/blobstore/index.html
Modified: jclouds/site-content/community/index.html
URL: http://svn.apache.org/viewvc/jclouds/site-content/community/index.html?rev=1852756&r1=1852755&r2=1852756&view=diff
==============================================================================
--- jclouds/site-content/community/index.html (original)
+++ jclouds/site-content/community/index.html Fri Feb 1 15:20:07 2019
@@ -179,7 +179,6 @@
<ul>
<li><a href="https://webchat.freenode.net/?channels=jclouds">Chat</a> with us on IRC at <a href="https://botbot.me/freenode/jclouds/">#jclouds on Freenode</a></li>
<li>Join the <a href="https://the-asf.slackarchive.io/jclouds">#jclouds Slack channel</a> at the <a href="https://the-asf.slack.com/">ASF workspace</a>. Ask us for an invitation to join!</li>
- <li><a href="http://www.meetup.com/jclouds/">Attend a jclouds event!</a></li>
</ul>
<h2>Get involved!</h2>
Modified: jclouds/site-content/start/blobstore/index.html
URL: http://svn.apache.org/viewvc/jclouds/site-content/start/blobstore/index.html?rev=1852756&r1=1852755&r2=1852756&view=diff
==============================================================================
--- jclouds/site-content/start/blobstore/index.html (original)
+++ jclouds/site-content/start/blobstore/index.html Fri Feb 1 15:20:07 2019
@@ -570,10 +570,13 @@ an object from a container that does not
<h3>Uploading</h3>
-<p>As long as you use either <code>InputStream</code> or <code>File</code> as the payload for your blob, you should
+<p>As long as you use either <code>ByteSource</code> or <code>File</code> as the payload for your blob, you should
be fine. Note that in S3, you must calculate the length ahead of time, since it doesn't support
chunked encoding.</p>
+<p>It is usually better to use a repeatable payload like <code>ByteSource</code> instead of <code>InputStream</code>,
+since this allows parallel uploads and retrying on errors.</p>
+
<p>Our integration tests ensure that we don't rebuffer in memory on upload:
<a href="http://github.com/jclouds/jclouds/blob/master/core/src/test/java/org/jclouds/http/BaseHttpCommandExecutorServiceIntegrationTest.java">testUploadBigFile</a>.</p>
@@ -583,8 +586,8 @@ environments such as Google App Engine.<
<h3>Downloading</h3>
<p>A blob you've downloaded via <code>blobstore.getBlob()</code> can be accessed via
-<code>blob.getPayload().getInput()</code> or <code>blob.getPayload().writeTo(outputStream)</code>. Since these are
-streaming, you shouldn't have a problem with memory unless you rebuffer the payload.</p>
+<code>blob.getPayload().openStream()</code>. Since this is streaming, you shouldn't have a problem
+with memory unless you rebuffer the payload.</p>
<div class="row clearfix">
<div id="footer" class="col-md-12 column">