| Modifier and Type | Field and Description |
|---|---|
| private final FileLock | |
| private final VertxInternal |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Future | isValid()
Implements io. A lock remains valid until it is released or the file corresponding |
| public void | isValid(Handler<AsyncResult<Boolean>> handler)
Implements io. Like |
| public boolean | isValidBlocking()
Implements io. Like |
| public boolean | |
| public long | |
| public Future | |
| public void | release(Handler<AsyncResult<Void>> handler)
Implements io. Like |
| public void | releaseBlocking()
Implements io. Like |
| public long |
| fileLock | back to summary |
|---|---|
| private final FileLock fileLock | |
| vertx | back to summary |
|---|---|
| private final VertxInternal vertx | |
| AsyncFileLockImpl | back to summary |
|---|---|
| public AsyncFileLockImpl(VertxInternal vertx, FileLock fileLock) | |
| isShared | back to summary |
|---|---|
| public boolean isShared() Implements io.
| |
| isValid | back to summary |
|---|---|
| public Future Implements io. Doc from io. A lock remains valid until it is released or the file corresponding
| |
| isValid | back to summary |
|---|---|
| public void isValid(Handler<AsyncResult<Boolean>> handler) Implements io. Doc from io. Like
| |
| isValidBlocking | back to summary |
|---|---|
| public boolean isValidBlocking() Implements io. Doc from io. Like
| |
| overlaps | back to summary |
|---|---|
| public boolean overlaps(long position, long size) Implements io.
| |
| position | back to summary |
|---|---|
| public long position() Implements io.
| |
| release | back to summary |
|---|---|
| public Future Implements io. Doc from io. Releases this lock;
| |
| release | back to summary |
|---|---|
| public void release(Handler<AsyncResult<Void>> handler) Implements io. Doc from io. Like
| |
| releaseBlocking | back to summary |
|---|---|
| public void releaseBlocking() Implements io. Doc from io. Like
| |
| size | back to summary |
|---|---|
| public long size() Implements io.
| |