| Package | Description |
|---|---|
| com.exonum.binding.core.runtime | |
| com.exonum.binding.core.service | |
| com.exonum.binding.core.storage.database | |
| com.exonum.binding.core.transaction |
| Modifier and Type | Method and Description |
|---|---|
Fork |
ViewProxyFactory.createFork(long nativeHandle,
Cleaner cleaner) |
Fork |
ViewFactory.createFork(long nativeHandle,
Cleaner cleaner)
Creates a new owning fork.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceRuntime.beforeCommit(int serviceId,
Fork fork)
Performs the before commit operation on the specified service in this runtime.
|
void |
ServiceRuntime.executeTransaction(int serviceId,
String interfaceName,
int txId,
byte[] arguments,
Fork fork,
int callerServiceId,
com.exonum.binding.common.hash.HashCode txMessageHash,
com.exonum.binding.common.crypto.PublicKey authorPublicKey)
Executes a transaction belonging to the given service.
|
void |
ServiceRuntime.startAddingService(Fork fork,
ServiceInstanceSpec instanceSpec,
byte[] configuration)
Starts registration of a new service instance with the given specification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Configurable.applyConfiguration(Fork fork,
Configuration configuration)
Applies the given configuration to this service.
|
default void |
Service.beforeCommit(Fork fork)
Handles the changes made by all transactions included in the upcoming block.
|
default void |
Service.initialize(Fork fork,
Configuration configuration)
Performs an initial configuration of the service instance.
|
void |
Configurable.verifyConfiguration(Fork fork,
Configuration configuration)
Verifies the correctness of the proposed configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Fork |
Database.createFork(Cleaner cleaner)
Creates a new database fork.
|
Fork |
TemporaryDb.createFork(Cleaner cleaner) |
static Fork |
Fork.newInstance(long nativeHandle,
boolean owningHandle,
Cleaner cleaner)
Creates a new Fork proxy.
|
static Fork |
Fork.newInstance(long nativeHandle,
Cleaner cleaner)
Creates a new owning Fork proxy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TemporaryDb.merge(Fork fork)
Applies the changes from the given fork to the database state.
|
| Modifier and Type | Method and Description |
|---|---|
Fork |
TransactionContext.getFork()
Returns database view allowing R/W operations.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionContext.Builder |
TransactionContext.Builder.fork(Fork fork)
Sets database fork for the context.
|
Copyright © 2019 Exonum. All rights reserved.