Package | Description |
---|---|
io.vertx.rxjava.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.rxLock()
Like
AsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.file.AsyncFileLock>>) 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(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.file.AsyncFileLock>>) but the handler will be called when the operation is complete or if an error occurs. |
Modifier and Type | Method and Description |
---|---|
void |
AsyncFile.lock(Handler<AsyncResult<AsyncFileLock>> handler)
Like
AsyncFile.lock(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.file.AsyncFileLock>>) 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(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.file.AsyncFileLock>>) but the handler will be called when the operation is complete or if an error occurs. |
Copyright © 2023 Eclipse. All rights reserved.