| Package | Description |
|---|---|
| com.exonum.binding.core.service | |
| com.exonum.binding.core.service.adapters |
An internal package with adapters of Java Service interfaces
to the interface, convenient to the native code.
|
| com.exonum.binding.core.storage.database |
| Modifier and Type | Method and Description |
|---|---|
abstract Snapshot |
BlockCommittedEventImpl.getSnapshot() |
Snapshot |
BlockCommittedEvent.getSnapshot()
Returns the current database snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
List<com.exonum.binding.common.hash.HashCode> |
AbstractService.getStateHashes(Snapshot snapshot) |
default 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,
OptionalInt validatorId,
long height)
Creates a new block committed event.
|
| Modifier and Type | Method and Description |
|---|---|
<ResultT> ResultT |
NodeFake.withSnapshot(Function<Snapshot,ResultT> snapshotFunction) |
<ResultT> ResultT |
NodeProxy.withSnapshot(Function<Snapshot,ResultT> snapshotFunction)
Performs the given function with a snapshot of the current database state.
|
<ResultT> ResultT |
Node.withSnapshot(Function<Snapshot,ResultT> snapshotFunction)
Performs the given function with a snapshot of the current database state.
|
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
ViewProxyFactory.createSnapshot(long nativeHandle,
Cleaner cleaner) |
Snapshot |
ViewFactory.createSnapshot(long nativeHandle,
Cleaner cleaner)
Creates a new owning snapshot.
|
| Modifier and Type | Method and 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.
|
Copyright © 2019 Exonum. All rights reserved.