Uses of Class
com.exonum.binding.core.storage.database.Fork
Package | Description |
---|---|
com.exonum.binding.core.runtime | |
com.exonum.binding.core.service | |
com.exonum.binding.core.storage.database | |
com.exonum.binding.core.transaction |
-
Uses of Fork in com.exonum.binding.core.runtime
Methods in com.exonum.binding.core.runtime that return Fork Modifier and Type Method Description Fork
ViewFactory. createFork(long nativeHandle, Cleaner cleaner)
Creates a new owning fork.Fork
ViewProxyFactory. createFork(long nativeHandle, Cleaner cleaner)
Methods in com.exonum.binding.core.runtime with parameters of type Fork Modifier and Type Method 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, HashCode txMessageHash, 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. -
Uses of Fork in com.exonum.binding.core.service
Methods in com.exonum.binding.core.service with parameters of type Fork Modifier and Type Method 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. -
Uses of Fork in com.exonum.binding.core.storage.database
Methods in com.exonum.binding.core.storage.database that return Fork Modifier and Type Method 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.Methods in com.exonum.binding.core.storage.database with parameters of type Fork Modifier and Type Method Description void
TemporaryDb. merge(Fork fork)
Applies the changes from the given fork to the database state. -
Uses of Fork in com.exonum.binding.core.transaction
Methods in com.exonum.binding.core.transaction that return Fork Modifier and Type Method Description Fork
TransactionContext. getFork()
Returns database view allowing R/W operations.Methods in com.exonum.binding.core.transaction with parameters of type Fork Modifier and Type Method Description TransactionContext.Builder
TransactionContext.Builder. fork(Fork fork)
Sets database fork for the context.