org.elasticsearch.common.http.client
Class HttpDownloadHelper.VerboseProgress

java.lang.Object
  extended by org.elasticsearch.common.http.client.HttpDownloadHelper.VerboseProgress
All Implemented Interfaces:
HttpDownloadHelper.DownloadProgress
Enclosing class:
HttpDownloadHelper

public static class HttpDownloadHelper.VerboseProgress
extends Object
implements HttpDownloadHelper.DownloadProgress

verbose progress system prints to some output stream


Constructor Summary
HttpDownloadHelper.VerboseProgress(PrintStream out)
          Construct a verbose progress reporter.
 
Method Summary
 void beginDownload()
          begin a download
 void endDownload()
          end a download
 void onTick()
          tick handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpDownloadHelper.VerboseProgress

public HttpDownloadHelper.VerboseProgress(PrintStream out)
Construct a verbose progress reporter.

Parameters:
out - the output stream.
Method Detail

beginDownload

public void beginDownload()
begin a download

Specified by:
beginDownload in interface HttpDownloadHelper.DownloadProgress

onTick

public void onTick()
tick handler

Specified by:
onTick in interface HttpDownloadHelper.DownloadProgress

endDownload

public void endDownload()
end a download

Specified by:
endDownload in interface HttpDownloadHelper.DownloadProgress


Copyright © 2009-2012. All Rights Reserved.