public final class Fork extends View
A fork represents the database state at the time it was created plus any changes to the database made using this fork.
A fork allows to perform a transaction: a number of independent writes to the database, which then may be atomically applied (i.e. committed) to the database and change the database state.
nativeHandle| Modifier and Type | Method and Description |
|---|---|
static Fork |
newInstance(long nativeHandle,
boolean owningHandle,
Cleaner cleaner)
Creates a new Fork proxy.
|
static Fork |
newInstance(long nativeHandle,
Cleaner cleaner)
Creates a new owning Fork proxy.
|
canModify, findOpenIndex, getCleaner, getViewNativeHandle, registerIndexgetNativeHandle, isValidHandlepublic static Fork newInstance(long nativeHandle, Cleaner cleaner)
nativeHandle - a handle of the native Fork objectcleaner - a cleaner to perform any operationspublic static Fork newInstance(long nativeHandle, boolean owningHandle, Cleaner cleaner)
nativeHandle - a handle of the native Fork objectowningHandle - whether a proxy owns the corresponding native object and is responsible
to clean it upcleaner - a cleaner to perform any operationsCopyright © 2019 Exonum. All rights reserved.