public interface Syncable
| Modifier and Type | Method and Description |
|---|---|
void |
sync()
Performs a sync operation up to the point that this handle has read or written.
|
static void |
syncIfAvailable(Object o)
Performs a sync operation if the given object implements the
Syncable interface. |
static void syncIfAvailable(Object o)
Syncable interface.
This method provides a convenient way to invoke the sync operation on an object without explicitly checking its type.o - The object to sync, if it implements the Syncable interface.void sync()
Copyright © 2024. All rights reserved.