Codota Logo
AsyncFile.close
Code IndexAdd Codota to your IDE (free)

How to use
close
method
in
io.vertx.rxjava.core.file.AsyncFile

Best Java code snippets using io.vertx.rxjava.core.file.AsyncFile.close (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: io.vertx/vertx-rx-java

 /**
 * Close the file. The actual close happens asynchronously.
 * The handler will be called when the close is complete, or an error occurs.
 * @return 
 * @deprecated use {@link #rxClose} instead
 */
@Deprecated()
public Observable<Void> closeObservable() { 
 io.vertx.rx.java.ObservableFuture<Void> handler = io.vertx.rx.java.RxHelper.observableFuture();
 close(handler.toHandler());
 return handler;
}
origin: io.vertx/vertx-rx-java

/**
 * Close the file. The actual close happens asynchronously.
 * The handler will be called when the close is complete, or an error occurs.
 * @return 
 */
public Single<Void> rxClose() { 
 return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> {
  close(fut);
 }));
}
origin: vert-x3/vertx-rx

 /**
 * Close the file. The actual close happens asynchronously.
 * The handler will be called when the close is complete, or an error occurs.
 * @return 
 */
public Single<Void> rxClose() { 
 return Single.create(new io.vertx.rx.java.SingleOnSubscribeAdapter<>(fut -> {
  close(fut);
 }));
}
origin: georocket/georocket

.doAfterTerminate(() -> {
 file.flush();
 file.close();
})
.toSingleDefault(archivePath);
origin: georocket/georocket

file.close();
out.end();
fileClosed.set(true);
if (!fileClosed.get()) {
 file.endHandler(null);
 file.close();
io.vertx.rxjava.core.fileAsyncFileclose

Javadoc

Close the file. The actual close happens asynchronously.

Popular methods of AsyncFile

  • flush
    Same as io.vertx.rxjava.core.file.AsyncFile#flush but the handler will be called when the flush is c
  • pause
  • resume
  • write
    Write a io.vertx.rxjava.core.buffer.Buffer to the file at position position in the file, asynchronou
  • <init>
  • endHandler
  • exceptionHandler
  • getDelegate
  • handler
  • newInstance
  • read
    Reads length bytes of data from the file at position position in the file, asynchronously. The read
  • rxClose
    Close the file. The actual close happens asynchronously. The handler will be called when the close i
  • read,
  • rxClose

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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