| Package | Description | 
|---|---|
| io.vertx.rxjava3.core.file | 
| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<AsyncFileLock> | 
AsyncFileLock.__TYPE_ARG  | 
| Modifier and Type | Method and Description | 
|---|---|
static AsyncFileLock | 
AsyncFileLock.newInstance(AsyncFileLock arg)  | 
AsyncFileLock | 
AsyncFile.tryLock()
Try to acquire a non-shared lock on the entire file. 
 | 
AsyncFileLock | 
AsyncFile.tryLock(long position,
       long size,
       boolean shared)
Try to acquire a lock on a portion of this file. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Single<AsyncFileLock> | 
AsyncFile.lock()
Like  
AsyncFile.lock() but the handler will be called when the operation is complete or if an error occurs. | 
Single<AsyncFileLock> | 
AsyncFile.lock(long position,
    long size,
    boolean shared)
Like  
AsyncFile.lock() but the handler will be called when the operation is complete or if an error occurs. | 
Single<AsyncFileLock> | 
AsyncFile.rxLock()
Like  
AsyncFile.lock() but the handler will be called when the operation is complete or if an error occurs. | 
Single<AsyncFileLock> | 
AsyncFile.rxLock(long position,
      long size,
      boolean shared)
Like  
AsyncFile.lock() but the handler will be called when the operation is complete or if an error occurs. | 
Copyright © 2023 Eclipse. All rights reserved.