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 BlockchainDataBlockchainData. fromHandle(long bdNativeHandle, Cleaner cleaner)Creates a new BlockchainData from the native handle.static BlockchainDataBlockchainData. 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 BlockchainDataAccessFactory. createBlockchainData(long nativeHandle, Cleaner cleaner)Creates a new owning blockchain data.BlockchainDataAccessProxyFactory. createBlockchainData(long nativeHandle, Cleaner cleaner)Methods in com.exonum.binding.core.runtime with parameters of type BlockchainData Modifier and Type Method Description voidServiceRuntime. afterTransactions(int serviceId, BlockchainData blockchainData)Performs the after transactions operation on the specified service in this runtime.voidServiceRuntime. beforeTransactions(int serviceId, BlockchainData blockchainData)Performs the before transactions operation on the specified service in this runtime.voidServiceRuntime. 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.voidServiceRuntime. initiateAddingService(BlockchainData blockchainData, ServiceInstanceSpec instanceSpec, byte[] configuration)Starts registration of a new service instance with the given specification.voidServiceRuntime. 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 BlockchainDataExecutionContext. getBlockchainData()Returns the database access object allowing R/W operations.BlockchainDataBlockCommittedEvent. getSnapshot()Returns the current database snapshot for the executing service.abstract BlockchainDataBlockCommittedEventImpl. getSnapshot()Methods in com.exonum.binding.core.service with parameters of type BlockchainData Modifier and Type Method Description ExecutionContext.BuilderExecutionContext.Builder. blockchainData(BlockchainData blockchainData)Sets the blockchain data for the context.static BlockCommittedEventImplBlockCommittedEventImpl. 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> ResultTNode. withBlockchainData(java.util.function.Function<BlockchainData,ResultT> snapshotFunction)Performs the given function with a snapshot of the current database state.<ResultT> ResultTNodeFake. 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 BlockchainDataTestKit. 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 TimeSchemaTimeSchema. newInstance(BlockchainData blockchainData, java.lang.String name)Constructs a schema of the time oracle instance with the given name.