Uses of Class
com.exonum.binding.core.storage.database.Prefixed
Package | Description |
---|---|
com.exonum.binding.core.blockchain | |
com.exonum.binding.core.service | |
com.exonum.binding.core.storage.database | |
com.exonum.binding.testkit |
-
Uses of Prefixed in com.exonum.binding.core.blockchain
Methods in com.exonum.binding.core.blockchain that return Prefixed Modifier and Type Method Description Prefixed
BlockchainData. getExecutingServiceData()
Returns the database access for the data of the current executing service.Methods in com.exonum.binding.core.blockchain that return types with arguments of type Prefixed Modifier and Type Method Description java.util.Optional<Prefixed>
BlockchainData. findServiceData(java.lang.String serviceName)
Returns a readonly database access for the data of the service instance with the given name, if it is started; orOptional.empty
if no such service started. -
Uses of Prefixed in com.exonum.binding.core.service
Methods in com.exonum.binding.core.service that return Prefixed Modifier and Type Method Description default Prefixed
ExecutionContext. getServiceData()
Returns the prefixed database access for the executing service.Method parameters in com.exonum.binding.core.service with type arguments of type Prefixed Modifier and Type Method Description default <ResultT> ResultT
Node. withServiceData(java.util.function.Function<? super Prefixed,ResultT> snapshotFunction)
Performs the given function with a snapshot of the current database state. -
Uses of Prefixed in com.exonum.binding.core.storage.database
Methods in com.exonum.binding.core.storage.database that return Prefixed Modifier and Type Method Description static Prefixed
Prefixed. fromHandle(long prefixedNativeHandle, Cleaner cleaner)
Creates a new Prefixed access from the native handle. -
Uses of Prefixed in com.exonum.binding.testkit
Methods in com.exonum.binding.testkit that return Prefixed Modifier and Type Method Description Prefixed
TestKit. getServiceData(java.lang.String serviceName)
Returns the snapshot of the current state of the service data for a service with the given name.