Uses of Class
com.exonum.binding.storage.database.Snapshot
-
Packages that use Snapshot Package Description com.exonum.binding.service com.exonum.binding.service.adapters An internal package with adapters of Java Service interfaces to the interface, convenient to the native code.com.exonum.binding.storage.database -
-
Uses of Snapshot in com.exonum.binding.service
Methods in com.exonum.binding.service that return Snapshot Modifier and Type Method Description Snapshot
BlockCommittedEvent. getSnapshot()
Returns the current database snapshot.abstract Snapshot
BlockCommittedEventImpl. getSnapshot()
Methods in com.exonum.binding.service with parameters of type Snapshot Modifier and Type Method Description java.util.List<com.exonum.binding.common.hash.HashCode>
AbstractService. getStateHashes(Snapshot snapshot)
default java.util.List<com.exonum.binding.common.hash.HashCode>
Service. getStateHashes(Snapshot snapshot)
Returns a list of root hashes of all Merkelized tables defined by this service, as of the given snapshot of the blockchain state.static BlockCommittedEventImpl
BlockCommittedEventImpl. valueOf(Snapshot snapshot, java.util.OptionalInt validatorId, long height)
Creates a new block committed event.Method parameters in com.exonum.binding.service with type arguments of type Snapshot Modifier and Type Method Description <ResultT> ResultT
Node. withSnapshot(java.util.function.Function<Snapshot,ResultT> snapshotFunction)
Performs a given function with a snapshot of the current database state.<ResultT> ResultT
NodeFake. withSnapshot(java.util.function.Function<Snapshot,ResultT> snapshotFunction)
<ResultT> ResultT
NodeProxy. withSnapshot(java.util.function.Function<Snapshot,ResultT> snapshotFunction)
Performs a given function with a snapshot of the current database state. -
Uses of Snapshot in com.exonum.binding.service.adapters
Methods in com.exonum.binding.service.adapters that return Snapshot Modifier and Type Method Description Snapshot
ViewFactory. createSnapshot(long nativeHandle, Cleaner cleaner)
Creates a new owning snapshot.Snapshot
ViewProxyFactory. createSnapshot(long nativeHandle, Cleaner cleaner)
-
Uses of Snapshot in com.exonum.binding.storage.database
Methods in com.exonum.binding.storage.database that return Snapshot Modifier and Type Method Description Snapshot
Database. createSnapshot(Cleaner cleaner)
Creates a new snapshot of the database state.Snapshot
MemoryDb. createSnapshot(Cleaner cleaner)
static Snapshot
Snapshot. newInstance(long nativeHandle, boolean owningHandle, Cleaner cleaner)
Creates a new Snapshot proxy.static Snapshot
Snapshot. newInstance(long nativeHandle, Cleaner cleaner)
Creates a new owning Snapshot proxy.
-