- cancel() - Method in interface com.exonum.binding.core.proxy.CancellableCleanAction
-
- cancel() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
-
- CancellableCleanAction<ResourceDescriptionT> - Interface in com.exonum.binding.core.proxy
-
A cancellable clean action can be cancelled.
- canModify() - Method in class com.exonum.binding.core.storage.database.View
-
Returns true if this view allows modifications to the database state; false if it is
immutable.
- clean() - Method in interface com.exonum.binding.core.proxy.CleanAction
-
A clean operation to perform.
- clean() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
-
Closes the native handle, so that it can no longer be accessed, and performs a clean action,
passing the native handle value.
- CleanAction<ResourceDescriptionT> - Interface in com.exonum.binding.core.proxy
-
A clean action is an operation that is performed to release some resources.
- Cleaner - Class in com.exonum.binding.core.proxy
-
A context controlling lifecycle of native proxies.
- Cleaner() - Constructor for class com.exonum.binding.core.proxy.Cleaner
-
Creates a new cleaner with no (an empty) description.
- Cleaner(String) - Constructor for class com.exonum.binding.core.proxy.Cleaner
-
Creates a new cleaner.
- clear() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- clear() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- clear() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- clear() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Removes all of the elements from this set.
- clear() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Clears the list.
- clear() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Removes all of the key-value pairs from the map.
- clear() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
-
- clear() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
- clear() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Removes all of the elements from this set.
- clearArtifactFilename() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- clearInstanceId() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service instance numeric identifier.
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- clearRuntimeStateHashes() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- clearServiceStateHashes() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- clearStateHashes() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service state hashes.
- clone() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- clone() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- clone() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- close() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
-
- close() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Performs all the clean operations that has been registered in this context in a reversed order
of the registration order.
- close() - Method in interface com.exonum.binding.core.proxy.CloseableNativeProxy
-
Closes the native proxy and releases any native resources associated with this proxy.
- close() - Method in class com.exonum.binding.core.proxy.NativeHandle
-
- close() - Method in class com.exonum.binding.core.runtime.RuntimeTransport
-
Stops the web-server.
- close() - Method in class com.exonum.binding.core.runtime.ServiceRuntime
-
- CloseableNativeProxy - Interface in com.exonum.binding.core.proxy
-
A proxy of a native object that must be explicitly closed.
- CloseFailuresException - Exception in com.exonum.binding.core.proxy
-
Indicates that there were failures when it was attempted to close some native proxies.
- com.exonum.binding.core.annotations - package com.exonum.binding.core.annotations
-
- com.exonum.binding.core.blockchain - package com.exonum.binding.core.blockchain
-
- com.exonum.binding.core.blockchain.serialization - package com.exonum.binding.core.blockchain.serialization
-
- com.exonum.binding.core.proxy - package com.exonum.binding.core.proxy
-
- com.exonum.binding.core.runtime - package com.exonum.binding.core.runtime
-
- com.exonum.binding.core.service - package com.exonum.binding.core.service
-
- com.exonum.binding.core.service.adapters - package com.exonum.binding.core.service.adapters
-
An internal package with adapters of Java Service interfaces
to the interface, convenient to the native code.
- com.exonum.binding.core.storage.database - package com.exonum.binding.core.storage.database
-
- com.exonum.binding.core.storage.indices - package com.exonum.binding.core.storage.indices
-
Contains Exonum indexes — persistent, named collections built on top of Exonum key-value storage.
- com.exonum.binding.core.transaction - package com.exonum.binding.core.transaction
-
- com.exonum.binding.core.transport - package com.exonum.binding.core.transport
-
- com.exonum.binding.core.util - package com.exonum.binding.core.util
-
- commitService(ServiceInstanceSpec) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
-
- Configurable - Interface in com.exonum.binding.core.service
-
A configurable Exonum service.
- Configuration - Interface in com.exonum.binding.core.service
-
Configuration parameters of Exonum service.
- configure() - Method in class com.exonum.binding.core.runtime.FrameworkModule
-
- contains(E) - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Returns true if this set contains the specified element.
- contains(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Returns true if this set contains the specified element.
- containsBlock(Block) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns true if the blockchain contains exactly the same block as the passed
value; false if it does not contain such block.
- containsByHash(HashCode) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Returns true if this set contains an element with the specified hash.
- containsKey(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns true if this map contains a mapping for the specified key.
- containsKey(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
-
- containsKey(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
- CoreTypeAdapterFactory - Class in com.exonum.binding.core.blockchain.serialization
-
Class used to automatically create Gson type adapters for all AutoValue classes
located in this module.
- CoreTypeAdapterFactory() - Constructor for class com.exonum.binding.core.blockchain.serialization.CoreTypeAdapterFactory
-
- create(Gson, TypeToken<T>) - Method in class com.exonum.binding.core.blockchain.serialization.AutoValueGson_CoreTypeAdapterFactory
-
- create() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreTypeAdapterFactory
-
- create() - Static method in interface com.exonum.binding.core.transport.Server
-
Creates an HTTP server with no request handlers.
- createCheckpoint() - Method in class com.exonum.binding.core.storage.database.Fork
-
Creates in-memory checkpoint of the current state of this Fork.
- createDataSchema(View) - Method in class com.exonum.binding.core.service.AbstractService
-
Creates a data schema of this service.
- createFork(long, Cleaner) - Method in interface com.exonum.binding.core.runtime.ViewFactory
-
Creates a new owning fork.
- createFork(long, Cleaner) - Method in enum com.exonum.binding.core.runtime.ViewProxyFactory
-
- createFork(Cleaner) - Method in interface com.exonum.binding.core.storage.database.Database
-
Creates a new database fork.
- createFork(Cleaner) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
-
- createPublicApiHandlers(Node, Router) - Method in interface com.exonum.binding.core.service.Service
-
Creates handlers that make up the public HTTP API of this service.
- createRouter() - Method in interface com.exonum.binding.core.transport.Server
-
Creates a request router.
- createSnapshot(long, Cleaner) - Method in interface com.exonum.binding.core.runtime.ViewFactory
-
Creates a new owning snapshot.
- createSnapshot(long, Cleaner) - Method in enum com.exonum.binding.core.runtime.ViewProxyFactory
-
- createSnapshot(Cleaner) - Method in interface com.exonum.binding.core.storage.database.Database
-
Creates a new snapshot of the database state.
- createSnapshot(Cleaner) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
-
- get() - Method in class com.exonum.binding.core.proxy.NativeHandle
-
Returns a native implementation-specific handle if it may be safely used
to access the native object.
- get() - Method in class com.exonum.binding.core.runtime.ReflectiveModuleSupplier
-
- get() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
- get(long) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns the element at the given index.
- get(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns the value associated with the specified key,
or null if there is no mapping for the key.
- get(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
-
- get(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
- getActualPort() - Method in interface com.exonum.binding.core.transport.Server
-
Returns a port this server is listening at, or
OptionalInt.empty() if it does not
currently accept requests.
- getAddress() - Method in interface com.exonum.binding.core.storage.indices.StorageIndex
-
Returns the index address: its unique identifier in the database.
- getArtifactFilename() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- getArtifactFilename() - Method in class com.exonum.binding.core.runtime.DeployArguments
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- getArtifactFilename() - Method in interface com.exonum.binding.core.runtime.DeployArgumentsOrBuilder
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- getArtifactFilenameBytes() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- getArtifactFilenameBytes() - Method in class com.exonum.binding.core.runtime.DeployArguments
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- getArtifactFilenameBytes() - Method in interface com.exonum.binding.core.runtime.DeployArgumentsOrBuilder
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- getArtifactId() - Method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
-
Returns the service artifact id.
- getAsMessage(Class<MessageT>) - Method in interface com.exonum.binding.core.service.Configuration
-
Returns the configuration parameters as a Protocol Buffers message.
- getAuthorPk() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns public key of the transaction author.
- getBlock(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the block at the given height.
- getBlockHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Returns the SHA-256 hash of this block.
- getBlockHashes() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a list of all block hashes, indexed by the block height.
- getBlocks() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map that stores a block object for every block hash.
- getBlockTransactions(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the block at the given height.
- getBlockTransactions(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the block with the given id.
- getBlockTransactions(Block) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the given block.
- getCleaner() - Method in class com.exonum.binding.core.storage.database.Fork
-
- getCleaner() - Method in class com.exonum.binding.core.storage.database.Snapshot
-
- getCleaner() - Method in class com.exonum.binding.core.storage.database.View
-
Returns the cleaner of this view.
- getConsensusConfiguration() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the current consensus configuration of the network.
- getDatabase() - Method in class com.exonum.binding.core.service.NodeFake
-
Returns the underlying database.
- getDefaultInstance() - Static method in class com.exonum.binding.core.runtime.DeployArguments
-
- getDefaultInstance() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
- getDefaultInstance() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.DeployArguments
-
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
- getDescription() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Returns a description of this cleaner.
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.DeployArguments
-
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.DeployArgumentsOuterClass
-
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos
-
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
- getDescriptorForType() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- getDescriptorForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- getDescriptorForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- getErrorCode() - Method in exception com.exonum.binding.core.transaction.TransactionExecutionException
-
Returns the transaction error code.
- getFork() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns database view allowing R/W operations.
- getHash() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
-
Returns a hash of the element of the set.
- getHeight() - Method in class com.exonum.binding.core.blockchain.Block
-
Returns the height of this block which is a distance between the last block and the "genesis"
block.
- getHeight() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the blockchain height which is the height of the latest committed block
in the blockchain.
- getHeight() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
-
Returns the current blockchain height, which is the height of the last committed block.
- getHeight() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
-
- getId() - Method in enum com.exonum.binding.core.runtime.RuntimeId
-
Returns the numeric id assigned to this runtime by the Exonum core.
- getId() - Method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
-
Returns the numeric id of the service instance.
- getId() - Method in class com.exonum.binding.core.service.AbstractService
-
Returns the numeric id of the service instance.
- getIdInGroup() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
-
Returns the index id in a group if it belongs to one, otherwise returns an empty optional.
- getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
Returns the index hash which represents the complete state of this list.
- getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
Returns the index hash which represents the complete state of this map.
- getInstance() - Static method in enum com.exonum.binding.core.runtime.ViewProxyFactory
-
Returns an instance of this factory.
- getInstanceId() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service instance numeric identifier.
- getInstanceId() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
Service instance numeric identifier.
- getInstanceId() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
-
Service instance numeric identifier.
- getInstanceSpec() - Method in class com.exonum.binding.core.service.AbstractService
-
Returns this service instance specification.
- getLast() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns the last element of the list.
- getLastBlock() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the latest committed block.
- getName() - Method in class com.exonum.binding.core.runtime.ServiceArtifactId
-
Returns the full artifact name of this service (e.g., "com.acme:land-registry:1.2.0").
- getName() - Method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
-
Returns the name of the service instance.
- getName() - Method in class com.exonum.binding.core.service.AbstractService
-
Returns the name of the service instance.
- getName() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
-
Returns the name of the index or index group.
- getName() - Method in interface com.exonum.binding.core.storage.indices.StorageIndex
-
Returns the name of this index.
- getNativeHandle() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
-
Returns a native implementation-specific handle if it may be safely used
to access the native object.
- getNativeHandle() - Method in class com.exonum.binding.core.proxy.AbstractNativeProxy
-
Returns a handle to the native object if it may be safely used to access the native object.
- getNumRegisteredActions() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Returns the number of the registered clean actions.
- getNumTransactions() - Method in class com.exonum.binding.core.blockchain.Block
-
Number of transactions in this block.
- getParserForType() - Method in class com.exonum.binding.core.runtime.DeployArguments
-
- getParserForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
- getParserForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
- getPayload() - Method in class com.exonum.binding.core.transaction.RawTransaction
-
Returns the transaction payload which contains actual transaction data.
- getPreviousBlockHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Hash link to the previous block in the blockchain.
- getProof(long) - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
- getProof(K, K...) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
- getProof(Collection<? extends K>) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
- getProposerId() - Method in class com.exonum.binding.core.blockchain.Block
-
Identifier of the leader node which has proposed the block.
- getPublicKey() - Method in interface com.exonum.binding.core.service.Node
-
Returns the service public key of this node.
- getPublicKey() - Method in class com.exonum.binding.core.service.NodeFake
-
- getPublicKey() - Method in class com.exonum.binding.core.service.NodeProxy
-
Returns the service public key of this node.
- getRangeProof(long, long) - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
- getRuntimeId() - Method in class com.exonum.binding.core.runtime.ServiceArtifactId
-
Returns the runtime id in which the service shall be deployed.
- getRuntimeStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashes(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashesCount() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getRuntimeStateHashesList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- getSerializedSize() - Method in class com.exonum.binding.core.runtime.DeployArguments
-
- getSerializedSize() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
- getSerializedSize() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
- getServiceId() - Method in class com.exonum.binding.core.transaction.RawTransaction
-
Returns a service identifier which the transaction belongs to.
- getServiceId() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns the numeric id of the service instance.
- getServiceName() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns the name of the service instance.
- getServiceRuntime() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeAdapter
-
Returns the corresponding service runtime.
- getServiceStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- getServiceStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
State hashes of each active service in the runtime.
- getServiceStateHashes(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
State hashes of each active service in the runtime.
- getServiceStateHashesBuilder(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- getServiceStateHashesBuilderList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- getServiceStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- getServiceStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
State hashes of each active service in the runtime.
- getServiceStateHashesCount() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
State hashes of each active service in the runtime.
- getServiceStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- getServiceStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
State hashes of each active service in the runtime.
- getServiceStateHashesList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
State hashes of each active service in the runtime.
- getServiceStateHashesOrBuilder(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- getServiceStateHashesOrBuilder(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
State hashes of each active service in the runtime.
- getServiceStateHashesOrBuilder(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
State hashes of each active service in the runtime.
- getServiceStateHashesOrBuilderList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- getServiceStateHashesOrBuilderList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
State hashes of each active service in the runtime.
- getServiceStateHashesOrBuilderList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
-
State hashes of each active service in the runtime.
- getSnapshot() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
-
Returns the current database snapshot.
- getSnapshot() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
-
- getStateHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Hash of the blockchain state after applying transactions in the block.
- getStateHashes(Snapshot) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
-
Returns the state hashes of this runtime and the services registered in it as a protobuf
message.
- getStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service state hashes.
- getStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
Service state hashes.
- getStateHashes(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
-
Service state hashes.
- getStateHashes(Snapshot) - Method in class com.exonum.binding.core.service.AbstractService
-
- getStateHashes() - Method in interface com.exonum.binding.core.service.Schema
-
Returns the root hashes of Merkelized tables in this database schema, as of the current
state of the database.
- getStateHashes(Snapshot) - Method in interface com.exonum.binding.core.service.Service
-
Returns a list of hashes representing the state of this service, as of the given snapshot
of the blockchain state.
- getStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service state hashes.
- getStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
Service state hashes.
- getStateHashesCount() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
-
Service state hashes.
- getStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service state hashes.
- getStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
Service state hashes.
- getStateHashesList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
-
Service state hashes.
- getTransactionId() - Method in class com.exonum.binding.core.transaction.RawTransaction
-
Returns the type of this transaction within a service.
- getTransactionMessageHash() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns SHA-256 hash of the transaction message that
carried the payload from which the transaction was
created.
- getTransactionPool() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a set of uncommitted (in-pool) transaction hashes; empty in case of no transactions.
- getTxLocation(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns transaction position inside the blockchain for given message hash.
- getTxLocations() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map that keeps the transaction position inside the blockchain for every transaction
hash.
- getTxMessages() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map of transaction messages identified by their SHA-256 hashes.
- getTxResult(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a transaction execution result for given message hash.
- getTxResults() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map with a key-value pair of a transaction hash and execution result.
- getTxRootHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Root hash of the Merkle tree of transactions in this block.
- getUnknownFields() - Method in class com.exonum.binding.core.runtime.DeployArguments
-
- getUnknownFields() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
- getUnknownFields() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
- getValidatorId() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
-
If this node is a
validator,
returns its identifier.
- getValidatorId() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
-
- getValue() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
-
Returns an element of the set.
- getViewNativeHandle() - Method in class com.exonum.binding.core.storage.database.View
-
Returns a native handle of this view.
- Schema - Interface in com.exonum.binding.core.service
-
A schema of the collections (a.k.a.
- Server - Interface in com.exonum.binding.core.transport
-
An HTTP server providing transport for Exonum transactions and read-requests.
- Service - Interface in com.exonum.binding.core.service
-
An Exonum service.
- SERVICE_STATE_HASHES_FIELD_NUMBER - Static variable in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
-
- ServiceArtifactId - Class in com.exonum.binding.core.runtime
-
A service artifact identifier.
- ServiceArtifactId() - Constructor for class com.exonum.binding.core.runtime.ServiceArtifactId
-
- serviceId(int) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
-
Sets the identifier of the service this transaction belongs to.
- serviceId(int) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
-
Sets service id for the context.
- serviceInstances() - Method in class com.exonum.binding.core.runtime.DispatcherSchema
-
Returns a map of service instance specifications of started services indexed by their names.
- ServiceInstanceSpec - Class in com.exonum.binding.core.runtime
-
A specification of a service instance.
- ServiceInstanceSpec() - Constructor for class com.exonum.binding.core.runtime.ServiceInstanceSpec
-
- ServiceLoadingException - Exception in com.exonum.binding.core.runtime
-
Indicates that a service runtime failed to load the service artifact.
- ServiceLoadingException(String) - Constructor for exception com.exonum.binding.core.runtime.ServiceLoadingException
-
- ServiceLoadingException(String, Throwable) - Constructor for exception com.exonum.binding.core.runtime.ServiceLoadingException
-
- ServiceModule - Interface in com.exonum.binding.core.service
-
A service module configures the service bindings so that the framework can resolve
the service implementation and all its dependencies.
- serviceName(String) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
-
Sets service name for the context.
- ServiceRuntime - Class in com.exonum.binding.core.runtime
-
A service runtime.
- ServiceRuntime(ServiceLoader, ServicesFactory, RuntimeTransport, Path) - Constructor for class com.exonum.binding.core.runtime.ServiceRuntime
-
Creates a new Java service runtime.
- ServiceRuntimeAdapter - Class in com.exonum.binding.core.runtime
-
The adapter of
ServiceRuntime to the interface, convenient to the native code
accessing it through JNI (simpler, faster, more reliable).
- ServiceRuntimeAdapter(ServiceRuntime, ViewFactory) - Constructor for class com.exonum.binding.core.runtime.ServiceRuntimeAdapter
-
- ServiceRuntimeProtos - Class in com.exonum.binding.core.runtime
-
- ServiceRuntimeProtos.ServiceRuntimeStateHashes - Class in com.exonum.binding.core.runtime
-
State hashes of the service runtime.
- ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder - Class in com.exonum.binding.core.runtime
-
State hashes of the service runtime.
- ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder - Interface in com.exonum.binding.core.runtime
-
- ServiceRuntimeProtos.ServiceStateHashes - Class in com.exonum.binding.core.runtime
-
State hashes of a single service.
- ServiceRuntimeProtos.ServiceStateHashes.Builder - Class in com.exonum.binding.core.runtime
-
State hashes of a single service.
- ServiceRuntimeProtos.ServiceStateHashesOrBuilder - Interface in com.exonum.binding.core.runtime
-
- set(T) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
Sets a new value of the entry, overwriting the previous value.
- set(long, T) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Replaces the element at the given index of the list with the specified element.
- setArtifactFilename(String) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- setArtifactFilenameBytes(ByteString) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
A name of the service artifact file located in the directory
for storing Java service artifacts.
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- setInstanceId(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service instance numeric identifier.
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- setRuntimeStateHashes(int, ByteString) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
Hashes representing the state of the runtime itself (e.g., its
internal indexes).
- setServiceStateHashes(int, ServiceRuntimeProtos.ServiceStateHashes) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- setServiceStateHashes(int, ServiceRuntimeProtos.ServiceStateHashes.Builder) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
State hashes of each active service in the runtime.
- setStateHashes(int, ByteString) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
Service state hashes.
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
-
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
-
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
-
- shutdown() - Method in class com.exonum.binding.core.runtime.ServiceRuntime
-
Stops this runtime.
- size() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns the number of elements in the list.
- Snapshot - Class in com.exonum.binding.core.storage.database
-
A snapshot is a read-only, immutable database view.
- start(int) - Method in interface com.exonum.binding.core.transport.Server
-
Requests the server to start listening on the given TCP port.
- startAddingService(Fork, ServiceInstanceSpec, byte[]) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
-
Starts registration of a new service instance with the given specification.
- STATE_HASHES_FIELD_NUMBER - Static variable in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
-
- stateHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the blockchain state hash at the moment this block was committed.
- stop() - Method in interface com.exonum.binding.core.transport.Server
-
Requests the server to stop listening to incoming requests and release any resources.
- StorageIndex - Interface in com.exonum.binding.core.storage.indices
-
Storage index is a persistent, named collection built on top of Exonum key-value storage.
- stream() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Returns a stream of the set elements.
- stream() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns a stream of elements in this list.
- stream() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Returns a stream of the entries in this set.
- submitTransaction(RawTransaction) - Method in interface com.exonum.binding.core.service.Node
-
Creates a transaction from the given parameters, signs it with
the
node service key, and then submits it into Exonum network.
- submitTransaction(RawTransaction) - Method in class com.exonum.binding.core.service.NodeFake
-
Returns a zero hash always, ignoring the transaction.
- submitTransaction(RawTransaction) - Method in class com.exonum.binding.core.service.NodeProxy
-
Creates a transaction from the given parameters, signs it with
the
node service key, and then submits it into Exonum network.