public final class Snapshot extends View
A snapshot represents database state at the time it was created. Immutability implies that:
UnsupportedOperationException
Fork
nativeHandle
Modifier and Type | Method and Description |
---|---|
static Snapshot |
newInstance(long nativeHandle,
boolean owningHandle,
Cleaner cleaner)
Creates a new Snapshot proxy.
|
static Snapshot |
newInstance(long nativeHandle,
Cleaner cleaner)
Creates a new owning Snapshot proxy.
|
getCleaner, getViewNativeHandle
getNativeHandle, isValidHandle
public static Snapshot newInstance(long nativeHandle, Cleaner cleaner)
nativeHandle
- a handle of the native Snapshot objectpublic static Snapshot newInstance(long nativeHandle, boolean owningHandle, Cleaner cleaner)
nativeHandle
- a handle of the native Snapshot objectowningHandle
- whether a proxy owns the corresponding native object and is responsible
to clean it upcleaner
- a cleaner to destroy the native objectCopyright © 2018 Exonum. All rights reserved.