public final class Snapshot extends View
A snapshot represents database state at the time it was created. Immutability implies that:
UnsupportedOperationException.
ForknativeHandle| Modifier and Type | Method and Description |
|---|---|
Cleaner |
getCleaner()
Returns the cleaner of this view.
|
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.
|
canModify, findOpenIndex, getViewNativeHandle, registerIndexgetNativeHandle, isValidHandlepublic 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 objectpublic Cleaner getCleaner()
ViewgetCleaner in class ViewCopyright © 2019 Exonum. All rights reserved.