Package | Description |
---|---|
io.vertx.core.file | |
io.vertx.reactivex.core.file | |
io.vertx.rxjava.core.file | |
io.vertx.rxjava3.core.file |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
Future<AsyncFileLock> |
AsyncFile.lock()
Acquire a non-shared lock on the entire file.
|
Future<AsyncFileLock> |
AsyncFile.lock(long position,
long size,
boolean shared)
Acquire a lock on a portion of this file.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncFile.lock(Handler<AsyncResult<AsyncFileLock>> handler)
Like
AsyncFile.lock() but the handler will be called when the operation is complete or if an error occurs. |
void |
AsyncFile.lock(long position,
long size,
boolean shared,
Handler<AsyncResult<AsyncFileLock>> handler)
Like
AsyncFile.lock(long, long, boolean) but the handler will be called when the operation is complete or if an error occurs. |
Modifier and Type | Method and Description |
---|---|
AsyncFileLock |
AsyncFileLock.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static AsyncFileLock |
AsyncFileLock.newInstance(AsyncFileLock arg) |
Constructor and Description |
---|
AsyncFileLock(AsyncFileLock delegate) |
Modifier and Type | Method and Description |
---|---|
AsyncFileLock |
AsyncFileLock.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static AsyncFileLock |
AsyncFileLock.newInstance(AsyncFileLock arg) |
Constructor and Description |
---|
AsyncFileLock(AsyncFileLock delegate) |
Modifier and Type | Method and Description |
---|---|
AsyncFileLock |
AsyncFileLock.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static AsyncFileLock |
AsyncFileLock.newInstance(AsyncFileLock arg) |
Constructor and Description |
---|
AsyncFileLock(AsyncFileLock delegate) |
Copyright © 2024 Eclipse. All rights reserved.