Uses of Class
com.exonum.binding.core.blockchain.BlockchainData
Package | Description |
---|---|
com.exonum.binding.core.blockchain | |
com.exonum.binding.core.runtime | |
com.exonum.binding.core.service | |
com.exonum.binding.testkit | |
com.exonum.binding.time |
-
Uses of BlockchainData in com.exonum.binding.core.blockchain
Methods in com.exonum.binding.core.blockchain that return BlockchainData Modifier and Type Method Description static BlockchainData
BlockchainData. fromHandle(long bdNativeHandle, Cleaner cleaner)
Creates a new BlockchainData from the native handle.static BlockchainData
BlockchainData. fromRawAccess(AbstractAccess baseAccess, java.lang.String serviceName)
Creates a BlockchainData for the service with the given name. -
Uses of BlockchainData in com.exonum.binding.core.runtime
Methods in com.exonum.binding.core.runtime that return BlockchainData Modifier and Type Method Description BlockchainData
AccessFactory. createBlockchainData(long nativeHandle, Cleaner cleaner)
Creates a new owning blockchain data.BlockchainData
AccessProxyFactory. createBlockchainData(long nativeHandle, Cleaner cleaner)
Methods in com.exonum.binding.core.runtime with parameters of type BlockchainData Modifier and Type Method Description void
ServiceRuntime. afterTransactions(int serviceId, BlockchainData blockchainData)
Performs the after transactions operation on the specified service in this runtime.void
ServiceRuntime. beforeTransactions(int serviceId, BlockchainData blockchainData)
Performs the before transactions operation on the specified service in this runtime.void
ServiceRuntime. executeTransaction(int serviceId, java.lang.String interfaceName, int txId, byte[] arguments, BlockchainData blockchainData, int callerServiceId, HashCode txMessageHash, PublicKey authorPublicKey)
Executes a transaction belonging to the given service.void
ServiceRuntime. initiateAddingService(BlockchainData blockchainData, ServiceInstanceSpec instanceSpec, byte[] configuration)
Starts registration of a new service instance with the given specification.void
ServiceRuntime. initiateResumingService(BlockchainData blockchainData, ServiceInstanceSpec instanceSpec, byte[] arguments)
Initiates resuming of previously stopped service instance. -
Uses of BlockchainData in com.exonum.binding.core.service
Methods in com.exonum.binding.core.service that return BlockchainData Modifier and Type Method Description BlockchainData
ExecutionContext. getBlockchainData()
Returns the database access object allowing R/W operations.BlockchainData
BlockCommittedEvent. getSnapshot()
Returns the current database snapshot for the executing service.abstract BlockchainData
BlockCommittedEventImpl. getSnapshot()
Methods in com.exonum.binding.core.service with parameters of type BlockchainData Modifier and Type Method Description ExecutionContext.Builder
ExecutionContext.Builder. blockchainData(BlockchainData blockchainData)
Sets the blockchain data for the context.static BlockCommittedEventImpl
BlockCommittedEventImpl. valueOf(BlockchainData snapshot, java.util.OptionalInt validatorId, long height)
Creates a new block committed event.Method parameters in com.exonum.binding.core.service with type arguments of type BlockchainData Modifier and Type Method Description <ResultT> ResultT
Node. withBlockchainData(java.util.function.Function<BlockchainData,ResultT> snapshotFunction)
Performs the given function with a snapshot of the current database state.<ResultT> ResultT
NodeFake. withBlockchainData(java.util.function.Function<BlockchainData,ResultT> snapshotFunction)
-
Uses of BlockchainData in com.exonum.binding.testkit
Methods in com.exonum.binding.testkit that return BlockchainData Modifier and Type Method Description BlockchainData
TestKit. getBlockchainData(java.lang.String serviceName)
Returns the snapshot of the current state of the blockchain data for a service with the given name. -
Uses of BlockchainData in com.exonum.binding.time
Methods in com.exonum.binding.time with parameters of type BlockchainData Modifier and Type Method Description static TimeSchema
TimeSchema. newInstance(BlockchainData blockchainData, java.lang.String name)
Constructs a schema of the time oracle instance with the given name.