| 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 |
| Modifier and Type | Method and Description |
|---|---|
default java.util.List<com.exonum.binding.hash.HashCode> |
Service.getStateHashes(Snapshot snapshot)
Returns a list of root hashes of all Merklized tables defined by this service,
as of the given snapshot of the blockchain state.
|
java.util.List<com.exonum.binding.hash.HashCode> |
AbstractService.getStateHashes(Snapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
<ResultT> ResultT |
NodeProxy.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 |
Node.withSnapshot(java.util.function.Function<Snapshot,ResultT> snapshotFunction)
Performs a 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 © 2018 Exonum. All rights reserved.