public final class Fork extends View
A fork allows to perform a transaction: a number of independent writes to a database, which then may be atomically applied to 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.
|
getCleaner, getViewNativeHandle
getNativeHandle, isValidHandle
public 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 © 2018 Exonum. All rights reserved.