A B C D E F G H I K L M N O P R S T U V W 
All Classes All Packages

A

AbstractAccess - Class in com.exonum.binding.core.storage.database
Represents an access to the database.
AbstractCloseableNativeProxy - Class in com.exonum.binding.core.proxy
A proxy of a native object.
AbstractCloseableNativeProxy(long, boolean) - Constructor for class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
Creates a native proxy.
AbstractCloseableNativeProxy(long, boolean, AbstractCloseableNativeProxy) - Constructor for class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
Creates a native proxy.
AbstractCloseableNativeProxy(long, boolean, Collection<AbstractCloseableNativeProxy>) - Constructor for class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
Creates a native proxy.
AbstractNativeProxy - Class in com.exonum.binding.core.proxy
A base class of a native proxy.
AbstractNativeProxy(NativeHandle) - Constructor for class com.exonum.binding.core.proxy.AbstractNativeProxy
 
AbstractService - Class in com.exonum.binding.core.service
A base class for user services.
AbstractService(ServiceInstanceSpec) - Constructor for class com.exonum.binding.core.service.AbstractService
 
AbstractServiceModule - Class in com.exonum.binding.core.service
A base class for ServiceModule implementations provided for convenience.
AbstractServiceModule() - Constructor for class com.exonum.binding.core.service.AbstractServiceModule
 
Access - Interface in com.exonum.binding.core.storage.database
Provides access to Exonum MerkleDB indexes.
AccessFactory - Interface in com.exonum.binding.core.runtime
A factory of database accesses.
AccessProxyFactory - Enum in com.exonum.binding.core.runtime
A factory of Access proxies.
add(CleanAction<?>) - Method in class com.exonum.binding.core.proxy.Cleaner
Registers a new clean action with this context.
add(E) - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Adds a new element to the set.
add(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Adds a new element to the set.
add(T) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Adds a new element to the end of the list.
addAll(Collection<? extends T>) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Adds all elements from the specified collection to this list.
addAllServices(Iterable<? extends TestKitProtos.TestKitService>) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
addAllServiceSpecs(Iterable<? extends Lifecycle.InstanceInitParams>) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
additionalHeaders(ImmutableMap<String, ByteString>) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets additional block headers.
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
addServices(int, TestKitProtos.TestKitService) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
addServices(int, TestKitProtos.TestKitService.Builder) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
addServices(TestKitProtos.TestKitService) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
addServices(TestKitProtos.TestKitService.Builder) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
addServicesBuilder() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
addServicesBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
addServiceSpecs(int, Lifecycle.InstanceInitParams) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
addServiceSpecs(int, Lifecycle.InstanceInitParams.Builder) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
addServiceSpecs(Lifecycle.InstanceInitParams) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
addServiceSpecs(Lifecycle.InstanceInitParams.Builder) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
addServiceSpecsBuilder() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
addServiceSpecsBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
afterCommit(BlockCommittedEvent) - Method in interface com.exonum.binding.core.service.Service
Handles read-only block commit event.
afterCommit(Snapshot, OptionalInt, long) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Notifies the services in the runtime of the block commit event.
afterTransactions(int, BlockchainData) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Performs the after transactions operation on the specified service in this runtime.
afterTransactions(ExecutionContext) - Method in interface com.exonum.binding.core.service.Service
Handles the changes made by all transactions included in the upcoming block.
applyConfiguration(ExecutionContext, Configuration) - Method in interface com.exonum.binding.core.service.Configurable
Applies the given configuration to this service.
ARTIFACT_SPEC_FIELD_NUMBER - Static variable in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
assignee() - Method in annotation type com.exonum.binding.core.annotations.ImproveDocs
Whom this item is assigned to.
authorPk(PublicKey) - Method in class com.exonum.binding.core.service.ExecutionContext.Builder
Sets transaction author public key for the context.
AutoGenerationCandidate - Annotation Type in com.exonum.binding.core.annotations
An annotation intended to mark APIs that are good candidates to be generated auto-magically.

B

beforeTransactions(int, BlockchainData) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Performs the before transactions operation on the specified service in this runtime.
beforeTransactions(ExecutionContext) - Method in interface com.exonum.binding.core.service.Service
An optional callback method invoked by the blockchain before any transactions in a block are executed.
Block - Class in com.exonum.binding.core.blockchain
Exonum block header data structure.
Block() - Constructor for class com.exonum.binding.core.blockchain.Block
 
Block.Builder - Class in com.exonum.binding.core.blockchain
 
Blockchain - Class in com.exonum.binding.core.blockchain
Provides read-only access to the subset of blockchain::Schema features in the Core API: blocks, transaction messages, execution results.
blockchainData(BlockchainData) - Method in class com.exonum.binding.core.service.ExecutionContext.Builder
Sets the blockchain data for the context.
BlockchainData - Class in com.exonum.binding.core.blockchain
Provides access to blockchain data of a particular service instance.
BlockCommittedEvent - Interface in com.exonum.binding.core.service
The blockchain state just after the corresponding block is committed.
BlockCommittedEventImpl - Class in com.exonum.binding.core.service
 
BlockCommittedEventImpl() - Constructor for class com.exonum.binding.core.service.BlockCommittedEventImpl
 
blockHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the hash of the block binary representation.
BlockProof - Class in com.exonum.binding.core.blockchain.proofs
A block with a proof.
BlockProof() - Constructor for class com.exonum.binding.core.blockchain.proofs.BlockProof
 
BlockSerializer - Enum in com.exonum.binding.core.blockchain.serialization
 
build() - Method in class com.exonum.binding.core.blockchain.Block.Builder
Creates a new block with the set arguments.
build() - Method in class com.exonum.binding.core.service.ExecutionContext.Builder
Creates the transaction context instance.
build() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
build() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
build() - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
Creates the RawTransaction instance with specified parameters.
builder() - Static method in class com.exonum.binding.core.blockchain.Block
Creates a new block builder.
builder() - Static method in interface com.exonum.binding.core.service.ExecutionContext
Returns the builder of the transaction context.
Builder() - Constructor for class com.exonum.binding.core.blockchain.Block.Builder
 
Builder() - Constructor for class com.exonum.binding.core.transaction.RawTransaction.Builder
 
buildPartial() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
buildPartial() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 

C

CallRecords - Class in com.exonum.binding.core.blockchain
Provides information about call errors within a specific block.
cancel() - Method in interface com.exonum.binding.core.proxy.CancellableCleanAction
Cancels this clean action, making CleanAction.clean() a no-op.
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.AbstractAccess
 
canModify() - Method in interface com.exonum.binding.core.storage.database.Access
Returns true if this access allows modifications to the database state; false if it is immutable.
checkExecution(boolean, byte) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, Object) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, int) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, int, int) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, int, long) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, int, Object) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, long) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, long, int) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, long, long) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, long, Object) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, Object) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, Object...) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, Object, int) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, Object, long) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, Object, Object) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
checkExecution(boolean, byte, String, Object, Object, Object) - Static method in class com.exonum.binding.core.service.ExecutionPreconditions
Verifies the truth of the given expression.
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.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.
clear() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
clear() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
clearArtifactSpec() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
clearServices() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
clearServiceSpecs() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
clone() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
clone() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.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
 
close() - Method in interface com.exonum.binding.core.service.Node
Closes this node.
close() - Method in class com.exonum.binding.core.service.NodeFake
 
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.proofs - package com.exonum.binding.core.blockchain.proofs
 
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.testkit.internal - package com.exonum.binding.core.testkit.internal
 
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
 
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() - 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.
createBlockchainData(long, Cleaner) - Method in interface com.exonum.binding.core.runtime.AccessFactory
Creates a new owning blockchain data.
createBlockchainData(long, Cleaner) - Method in enum com.exonum.binding.core.runtime.AccessProxyFactory
 
createBlockProof(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
Creates a proof for the block at the given height.
createCheckpoint() - Method in class com.exonum.binding.core.storage.database.Fork
Creates in-memory checkpoint of the current state of this Fork.
createFork(long, Cleaner) - Method in interface com.exonum.binding.core.runtime.AccessFactory
Creates a new owning fork.
createFork(long, Cleaner) - Method in enum com.exonum.binding.core.runtime.AccessProxyFactory
 
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
 
createIndexProof(String) - Method in class com.exonum.binding.core.blockchain.Blockchain
Creates a proof for a single index in the database.
createIndexProof(String) - Method in class com.exonum.binding.core.blockchain.BlockchainData
Creates an index proof for an index of the executing service given the index simple name.
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.AccessFactory
Creates a new owning snapshot.
createSnapshot(long, Cleaner) - Method in enum com.exonum.binding.core.runtime.AccessProxyFactory
 
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
 

D

Database - Interface in com.exonum.binding.core.storage.database
Represents an underlying Exonum Storage database.
deployArtifact(ServiceArtifactId, String) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Loads a Java service artifact from the specified file.
DispatcherSchema - Class in com.exonum.binding.core.runtime
Exonum service instances database schema.
DispatcherSchema(Access) - Constructor for class com.exonum.binding.core.runtime.DispatcherSchema
 
disposeInternal() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
Releases any resources owned by this proxy (e.g., the corresponding native object).
disposeInternal() - Method in class com.exonum.binding.core.runtime.NodeProxy
 
disposeInternal() - Method in class com.exonum.binding.core.storage.database.TemporaryDb
 

E

entries() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Returns an iterator over the map entries.
entries() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
entries() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
Entry() - Constructor for class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
 
EntryIndex<T> - Interface in com.exonum.binding.core.storage.indices
An Entry is a database index that may or may not contain a single value.
EntryIndexProxy<T> - Class in com.exonum.binding.core.storage.indices
A proxy of a native MerkleDB Entry.
equals(Object) - Method in class com.exonum.binding.core.storage.indices.IndexAddress
 
equals(Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
equals(Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
errorHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets error hash.
executeTransaction(int, String, int, byte[], BlockchainData, int, HashCode, PublicKey) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Executes a transaction belonging to the given service.
ExecutionContext - Interface in com.exonum.binding.core.service
An execution context.
ExecutionContext.Builder - Class in com.exonum.binding.core.service
Transaction context builder.
ExecutionException - Exception in com.exonum.binding.core.service
An error occurred during the execution of a Service method.
ExecutionException(byte) - Constructor for exception com.exonum.binding.core.service.ExecutionException
Constructs a new transaction exception with no description.
ExecutionException(byte, String) - Constructor for exception com.exonum.binding.core.service.ExecutionException
Constructs a new transaction exception with the specified description.
ExecutionException(byte, String, Throwable) - Constructor for exception com.exonum.binding.core.service.ExecutionException
Constructs a new transaction exception with the specified description and cause.
ExecutionPreconditions - Class in com.exonum.binding.core.service
Utility methods that helps verifying conditions conducted in expression while transaction execution.

F

findBlock(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a block object for given block hash.
findServiceData(String) - Method in class com.exonum.binding.core.blockchain.BlockchainData
Returns a readonly database access for the data of the service instance with the given name, if it is started; or Optional.empty if no such service started.
Fork - Class in com.exonum.binding.core.storage.database
A fork is a database access object, allowing both read and write operations.
FrameworkModule - Class in com.exonum.binding.core.runtime
A framework module which configures the system-wide bindings.
FrameworkModule(Path, int, Map<String, Class<?>>) - Constructor for class com.exonum.binding.core.runtime.FrameworkModule
Creates a framework module with the given configuration.
from(Runnable, ResourceDescriptionT) - Static method in interface com.exonum.binding.core.proxy.CleanAction
Creates a clean action with a given type.
fromBytes(byte[]) - Method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
 
fromBytes(byte[]) - Method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
 
fromHandle(long, Cleaner) - Static method in class com.exonum.binding.core.blockchain.BlockchainData
Creates a new BlockchainData from the native handle.
fromHandle(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Prefixed
Creates a new Prefixed access from the native handle.
fromHandle(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.RoErasedAccess
Creates a new erased readonly access from the native handle.
fromMessage(TransactionMessage) - Static method in class com.exonum.binding.core.transaction.RawTransaction
Creates a raw transaction from the given transaction message.
fromMessage(Blockchain.Block) - Static method in class com.exonum.binding.core.blockchain.Block
Creates a block from the block message.
fromRawAccess(AbstractAccess, String) - Static method in class com.exonum.binding.core.blockchain.BlockchainData
Creates a BlockchainData for the service with the given name.

G

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 interface com.exonum.binding.core.storage.indices.EntryIndex
If value is present in the entry, returns it, otherwise, throws NoSuchElementException.
get(long) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Returns the element at the given index.
get(Blockchain.CallInBlock) - Method in class com.exonum.binding.core.blockchain.CallRecords
Finds the error, if any, occurred in the given call.
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
 
getAccessNativeHandle() - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getAccessNativeHandle() - Method in interface com.exonum.binding.core.storage.database.Access
Returns a native handle of this access.
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.
getAdditionalHeaders() - Method in class com.exonum.binding.core.blockchain.Block
Contains additional block headers of the block.
getAddress() - Method in interface com.exonum.binding.core.storage.indices.StorageIndex
Returns the index address: its identifier in the database.
getArtifactId() - Method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
Returns the service artifact id.
getArtifactSpec() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
getArtifactSpec() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Artifact description.
getArtifactSpec() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Artifact description.
getArtifactSpecBuilder() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
getArtifactSpecOrBuilder() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
getArtifactSpecOrBuilder() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Artifact description.
getArtifactSpecOrBuilder() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Artifact description.
getAsJson(Class<T>) - Method in interface com.exonum.binding.core.service.Configuration
Returns the configuration as an object of the given type decoded from the underlying JSON.
getAsMessage() - Method in class com.exonum.binding.core.blockchain.proofs.BlockProof
Returns the proof as a protobuf message.
getAsMessage() - Method in class com.exonum.binding.core.blockchain.proofs.IndexProof
Returns the proof as a protobuf message.
getAsMessage() - Method in class com.exonum.binding.core.storage.indices.ListProof
Returns the proof as a protobuf message.
getAsMessage() - Method in class com.exonum.binding.core.storage.indices.MapProof
Returns the proof as a protobuf message.
getAsMessage(Class<MessageT>) - Method in interface com.exonum.binding.core.service.Configuration
Returns the configuration parameters as a Protocol Buffers message.
getAsProperties() - Method in interface com.exonum.binding.core.service.Configuration
Returns the configuration as a properties.
getAsString() - Method in interface com.exonum.binding.core.service.Configuration
Returns the configuration as a plain text string.
getAuthorPk() - Method in interface com.exonum.binding.core.service.ExecutionContext
Returns public key of the transaction author; or Optional.empty() if no transaction message corresponds to this context.
getBlock(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the block at the given height.
getBlockchain() - Method in class com.exonum.binding.core.blockchain.BlockchainData
Returns the blockchain schema (aka Exonum core schema).
getBlockchainData() - Method in interface com.exonum.binding.core.service.ExecutionContext
Returns the database access object allowing R/W operations.
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.
getCallRecords(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the call records, containing the execution errors that occurred in the block at the given height.
getCleaner() - Method in class com.exonum.binding.core.storage.database.AbstractAccess
Returns the cleaner of this access.
getCleaner() - Method in class com.exonum.binding.core.storage.database.Fork
 
getCleaner() - Method in class com.exonum.binding.core.storage.database.Prefixed
 
getCleaner() - Method in class com.exonum.binding.core.storage.database.RoErasedAccess
 
getCleaner() - Method in class com.exonum.binding.core.storage.database.Snapshot
 
getConfigurationFormat() - Method in interface com.exonum.binding.core.service.Configuration
Returns the configuration format.
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.testkit.internal.TestKitProtos.TestKitService
 
getDefaultInstance() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
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.testkit.internal.TestKitProtos
 
getDescriptor() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
getDescriptor() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
getDescriptor() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
getDescriptor() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
getDescriptorForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
getDescriptorForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
getDispatcherSchema() - Method in class com.exonum.binding.core.blockchain.BlockchainData
Returns the schema of the dispatcher service.
getEntry(IndexAddress, Serializer<E>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getEntry(IndexAddress, Serializer<E>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new Entry.
getErrorCode() - Method in exception com.exonum.binding.core.service.ExecutionException
Returns the transaction error code.
getErrorHash() - Method in class com.exonum.binding.core.blockchain.Block
Root hash of exceptions occurred in the block.
getErrors() - Method in class com.exonum.binding.core.blockchain.CallRecords
Returns all errors in the block.
getExecutingServiceData() - Method in class com.exonum.binding.core.blockchain.BlockchainData
Returns the database access for the data of the current executing service.
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 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 interface com.exonum.binding.core.storage.indices.HashableIndex
Returns the index hash which represents the complete state of this index.
getIndexHash() - Method in interface com.exonum.binding.core.storage.indices.ProofEntryIndex
Returns the index hash which represents the complete state of this entry.
getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofEntryIndexProxy
 
getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
 
getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
getInstance() - Static method in enum com.exonum.binding.core.runtime.AccessProxyFactory
Returns an instance of this factory.
getInstanceSpec() - Method in class com.exonum.binding.core.service.AbstractService
Returns this service instance specification.
getKeySet(IndexAddress, Serializer<E>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getKeySet(IndexAddress, Serializer<E>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new KeySet.
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.
getList(IndexAddress, Serializer<E>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getList(IndexAddress, Serializer<E>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new ListIndex.
getMap(IndexAddress, Serializer<K>, Serializer<V>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getMap(IndexAddress, Serializer<K>, Serializer<V>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new MapIndex.
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.
getNextHeight() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the blockchain height of the next block to be committed.
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.
getNumTransactions() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the total number of transactions committed to the blockchain.
getOpenIndexes() - Method in class com.exonum.binding.core.storage.database.AbstractAccess
Returns the registry of open indexes for this Access.
getParserForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
getParserForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
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
Returns a proof of either existence or absence of an element at the specified index in this list.
getProof(Blockchain.CallInBlock) - Method in class com.exonum.binding.core.blockchain.CallRecords
Returns a cryptographic proof of authenticity for a top-level call within a block.
getProof(Collection<? extends K>) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Returns a proof that there are values mapped to the specified keys or that there are no such mappings.
getProof(K, K...) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Returns a proof that there are values mapped to the specified keys or that there are no such mappings.
getProofEntry(IndexAddress, Serializer<E>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getProofEntry(IndexAddress, Serializer<E>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new ProofEntry.
getProofList(IndexAddress, Serializer<E>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getProofList(IndexAddress, Serializer<E>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new ProofListIndex.
getProofMap(IndexAddress, Serializer<K>, Serializer<V>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getProofMap(IndexAddress, Serializer<K>, Serializer<V>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new ProofMapIndex.
getProposerId() - Method in class com.exonum.binding.core.blockchain.Block
Identifier of the leader node which has proposed the block.
getPublicKey() - Method in class com.exonum.binding.core.runtime.NodeProxy
 
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
 
getRangeProof(long, long) - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Returns a proof of either existence or absence of some elements in the specified range in this list.
getRawProofMap(IndexAddress, Serializer<K>, Serializer<V>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getRawProofMap(IndexAddress, Serializer<K>, Serializer<V>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new "raw" ProofMapIndex.
getSerializedSize() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
getSerializedSize() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
getServiceData() - Method in interface com.exonum.binding.core.service.ExecutionContext
Returns the prefixed database access for the executing service.
getServiceId() - Method in interface com.exonum.binding.core.service.ExecutionContext
Returns the numeric id of the service instance.
getServiceId() - Method in class com.exonum.binding.core.transaction.RawTransaction
Returns a service identifier which the transaction belongs to.
getServiceName() - Method in interface com.exonum.binding.core.service.ExecutionContext
Returns the name of the service instance.
getServiceRuntime() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeAdapter
Returns the corresponding service runtime.
getServices(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
getServices(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
repeated .exonum.testkit.TestKitService services = 1;
getServices(int) - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstancesOrBuilder
repeated .exonum.testkit.TestKitService services = 1;
getServicesBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
getServicesBuilderList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
getServicesCount() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
getServicesCount() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
repeated .exonum.testkit.TestKitService services = 1;
getServicesCount() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstancesOrBuilder
repeated .exonum.testkit.TestKitService services = 1;
getServicesList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
getServicesList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
repeated .exonum.testkit.TestKitService services = 1;
getServicesList() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstancesOrBuilder
repeated .exonum.testkit.TestKitService services = 1;
getServicesOrBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
getServicesOrBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
repeated .exonum.testkit.TestKitService services = 1;
getServicesOrBuilder(int) - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstancesOrBuilder
repeated .exonum.testkit.TestKitService services = 1;
getServicesOrBuilderList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
getServicesOrBuilderList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
repeated .exonum.testkit.TestKitService services = 1;
getServicesOrBuilderList() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstancesOrBuilder
repeated .exonum.testkit.TestKitService services = 1;
getServiceSpecs(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
getServiceSpecs(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Services to start on blockchain instantiation.
getServiceSpecs(int) - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Services to start on blockchain instantiation.
getServiceSpecsBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
getServiceSpecsBuilderList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
getServiceSpecsCount() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
getServiceSpecsCount() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Services to start on blockchain instantiation.
getServiceSpecsCount() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Services to start on blockchain instantiation.
getServiceSpecsList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
getServiceSpecsList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Services to start on blockchain instantiation.
getServiceSpecsList() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Services to start on blockchain instantiation.
getServiceSpecsOrBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
getServiceSpecsOrBuilder(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Services to start on blockchain instantiation.
getServiceSpecsOrBuilder(int) - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Services to start on blockchain instantiation.
getServiceSpecsOrBuilderList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
getServiceSpecsOrBuilderList() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Services to start on blockchain instantiation.
getServiceSpecsOrBuilderList() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Services to start on blockchain instantiation.
getSnapshot() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
Returns the current database snapshot for the executing service.
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.
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.service.ExecutionContext
Returns SHA-256 hash of the transaction message that carried the payload of the transaction; or Optional.empty() if no message corresponds to this context.
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 the given message hash.
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.testkit.internal.TestKitProtos.TestKitService
 
getUnknownFields() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
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.
getValueSet(IndexAddress, Serializer<E>) - Method in class com.exonum.binding.core.storage.database.AbstractAccess
 
getValueSet(IndexAddress, Serializer<E>) - Method in interface com.exonum.binding.core.storage.database.Access
Creates a new ValueSet.

H

hasArtifactSpec() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
hasArtifactSpec() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
Artifact description.
hasArtifactSpec() - Method in interface com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceOrBuilder
Artifact description.
HashableIndex - Interface in com.exonum.binding.core.storage.indices
A hashable index provides a cryptographic hash which represents the complete state of this index.
hashCode() - Method in class com.exonum.binding.core.blockchain.Block
 
hashCode() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
 
hashCode() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
 
hashCode() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
hashCode() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
hashes() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Creates an iterator over the hashes of the elements in this set.
height(long) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the block height, which is the distance between the block and the genesis block, which has zero height.

I

ImproveDocs - Annotation Type in com.exonum.binding.core.annotations
Indicates that a documentation of a field, method or class needs to be improved (or added if absent).
IndexAddress - Class in com.exonum.binding.core.storage.indices
An Exonum index address: a pair of the name and an optional id in a group, which identifies an Exonum index.
IndexProof - Class in com.exonum.binding.core.blockchain.proofs
Proof of authenticity for a single index in the database.
IndexProof() - Constructor for class com.exonum.binding.core.blockchain.proofs.IndexProof
 
initialize(NodeProxy) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Initializes the runtime with the given node.
initialize(ExecutionContext, Configuration) - Method in interface com.exonum.binding.core.service.Service
Performs an initial configuration of the service instance.
initiateAddingService(BlockchainData, ServiceInstanceSpec, byte[]) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Starts registration of a new service instance with the given specification.
initiateResumingService(BlockchainData, ServiceInstanceSpec, byte[]) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Initiates resuming of previously stopped service instance.
INSTANCE - com.exonum.binding.core.blockchain.serialization.BlockSerializer
 
INSTANCE - com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
 
INSTANCE - com.exonum.binding.core.runtime.AccessProxyFactory
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
INVALID_NATIVE_HANDLE - Static variable in class com.exonum.binding.core.proxy.NativeHandle
A reserved value for an invalid native handle, equal to nullptr in C++.
isArtifactDeployed(ServiceArtifactId) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Returns true if an artifact with the given id is currently deployed in this runtime.
isClosed() - Method in class com.exonum.binding.core.proxy.Cleaner
Returns true if this cleaner is closed.
isEmpty() - Method in class com.exonum.binding.core.blockchain.Block
Returns true if this block is empty: contains no transactions.
isEmpty() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Returns true if the list is empty, false — otherwise.
isEmpty() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Returns true if this map has no entries.
isInitialized() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
isInitialized() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
isInitialized() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
isInitialized() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
isPresent() - Method in interface com.exonum.binding.core.storage.indices.EntryIndex
Returns true if this entry exists in the database.
isValidHandle() - Method in class com.exonum.binding.core.proxy.AbstractNativeProxy
Returns true if this proxy has a valid native handle.
iterator() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Creates an iterator over the set elements.
iterator() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Returns an iterator over the elements of the list.
iterator() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Returns an iterator over the entries of this set.

K

keys() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Returns an iterator over the map keys.
keys() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
keys() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
KeySetIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
A key set is an index that contains no duplicate elements (keys).

L

LibraryLoader - Class in com.exonum.binding.core.util
A loader of the native shared library with Exonum framework bindings.
ListIndex<T> - Interface in com.exonum.binding.core.storage.indices
A list index proxy is a contiguous list of elements.
ListIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
A list index proxy is a contiguous list of elements.
ListProof - Class in com.exonum.binding.core.storage.indices
A view of a ProofListIndexProxy, i.e., a subset of its elements coupled with a proof, which jointly allow restoring the index hash of the list.
ListProof() - Constructor for class com.exonum.binding.core.storage.indices.ListProof
 
load() - Static method in class com.exonum.binding.core.util.LibraryLoader
Loads the native library with Exonum framework bindings.

M

MapIndex<K,​V> - Interface in com.exonum.binding.core.storage.indices
A MapIndex is an index that maps keys to values.
MapIndexProxy<K,​V> - Class in com.exonum.binding.core.storage.indices
A MapIndex is an index that maps keys to values.
MapProof - Class in com.exonum.binding.core.storage.indices
A view of a ProofMapIndexProxy, i.e., a subset of its entries coupled with a proof, which jointly allow restoring the index hash of the map.
MapProof() - Constructor for class com.exonum.binding.core.storage.indices.MapProof
 
merge(Fork) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
Applies the changes from the given fork to the database state.
mergeArtifactSpec(Base.ArtifactSpec) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
mergeFrom(TestKitProtos.TestKitService) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
mergeFrom(TestKitProtos.TestKitServiceInstances) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
mergeFrom(Message) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
mergeFrom(Message) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
mountSubRouter(String, Router) - Method in interface com.exonum.binding.core.transport.Server
Mounts the sub router on the root router of this server.

N

nativeCanModify(long) - Static method in class com.exonum.binding.core.storage.database.AbstractAccess
Returns true if the native Access allows modifications to the storage.
nativeFree(long) - Static method in class com.exonum.binding.core.storage.database.AbstractAccess
Destroys the native `ErasedAccess` object.
nativeGet(long) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
 
nativeGet(long) - Method in class com.exonum.binding.core.storage.indices.ProofEntryIndexProxy
 
nativeGetIndexHash(long) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
 
nativeGetIndexHash(long) - Method in class com.exonum.binding.core.storage.indices.ProofEntryIndexProxy
 
nativeHandle - Variable in class com.exonum.binding.core.proxy.AbstractNativeProxy
A handle to the native object.
NativeHandle - Class in com.exonum.binding.core.proxy
An implementation-specific handle to the native object.
NativeHandle(long) - Constructor for class com.exonum.binding.core.proxy.NativeHandle
Creates new native handle.
nativeIsPresent(long) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
 
nativeIsPresent(long) - Method in class com.exonum.binding.core.storage.indices.ProofEntryIndexProxy
 
nativeRemove(long) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
 
nativeRemove(long) - Method in class com.exonum.binding.core.storage.indices.ProofEntryIndexProxy
 
nativeSet(long, byte[]) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
 
nativeSet(long, byte[]) - Method in class com.exonum.binding.core.storage.indices.ProofEntryIndexProxy
 
newBlockInternal(Blockchain.Block, HashCode) - Static method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
Creates a block from a message and the block hash.
newBuilder() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
newBuilder() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
newBuilder() - Static method in class com.exonum.binding.core.transaction.RawTransaction
Returns the new builder for the transaction.
newBuilder(TestKitProtos.TestKitService) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
newBuilder(TestKitProtos.TestKitServiceInstances) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
newBuilderForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
newBuilderForType() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
newInstance() - Static method in class com.exonum.binding.core.storage.database.TemporaryDb
Creates a new empty TemporaryDb.
newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Fork
Creates a new Fork proxy.
newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Snapshot
Creates a new Snapshot proxy.
newInstance(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Fork
Creates a new owning Fork proxy.
newInstance(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Snapshot
Creates a new owning Snapshot proxy.
newInstance(Access) - Static method in class com.exonum.binding.core.blockchain.Blockchain
Constructs a new blockchain instance for the given database access.
newInstance(IndexAddress, AbstractAccess, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
Creates a new Entry.
newInstance(IndexAddress, AbstractAccess, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Creates a new key set proxy.
newInstance(IndexAddress, AbstractAccess, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ListIndexProxy
Creates a new ListIndexProxy.
newInstance(IndexAddress, AbstractAccess, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofEntryIndexProxy
Creates a new Entry.
newInstance(IndexAddress, AbstractAccess, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Creates a new ProofListIndexProxy.
newInstance(IndexAddress, AbstractAccess, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Creates a new value set.
newInstance(IndexAddress, AbstractAccess, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.MapIndexProxy
Creates a new MapIndexProxy.
newInstance(IndexAddress, AbstractAccess, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Creates a ProofMapIndexProxy.
newInstance(Proofs.BlockProof) - Static method in class com.exonum.binding.core.blockchain.proofs.BlockProof
Creates a new BlockProof given the block proof message.
newInstance(Proofs.IndexProof) - Static method in class com.exonum.binding.core.blockchain.proofs.IndexProof
Creates a new IndexProof given the index proof message.
newInstance(MapProofOuterClass.MapProof) - Static method in class com.exonum.binding.core.storage.indices.MapProof
Creates a new MapProof given the map proof message.
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
newInstance(String, int, ServiceArtifactId) - Static method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
 
newInstanceNoKeyHashing(IndexAddress, AbstractAccess, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
newRegistered(Cleaner, NativeHandle, Class<?>, LongConsumer) - Static method in class com.exonum.binding.core.proxy.ProxyDestructor
Creates a new destructor of a native proxy, registered in the given cleaner.
Node - Interface in com.exonum.binding.core.service
An Exonum node context.
NodeFake - Class in com.exonum.binding.core.service
An implementation of a Node interface for testing purposes.
NodeFake(TemporaryDb, String) - Constructor for class com.exonum.binding.core.service.NodeFake
Creates a new node fake with the given database and an empty public key.
NodeFake(TemporaryDb, String, PublicKey) - Constructor for class com.exonum.binding.core.service.NodeFake
Creates a new node fake with the given database.
NodeProxy - Class in com.exonum.binding.core.runtime
An Exonum node context.
NodeProxy(long) - Constructor for class com.exonum.binding.core.runtime.NodeProxy
Creates a proxy of a Node.
numTransactions(int) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the number of transactions in this block.

O

orElse(T) - Method in interface com.exonum.binding.core.storage.indices.EntryIndex
Returns the value of this entry, if it is present; otherwise, the given value.

P

parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(byte[]) - Static method in class com.exonum.binding.core.blockchain.Block
Creates a block from the serialized block message.
parseFrom(byte[]) - Static method in class com.exonum.binding.core.blockchain.proofs.BlockProof
Parses a serialized block proof message.
parseFrom(byte[]) - Static method in class com.exonum.binding.core.blockchain.proofs.IndexProof
Parses a serialized index proof message.
parseFrom(byte[]) - Static method in class com.exonum.binding.core.storage.indices.ListProof
Creates a new ListProof given the serialized map proof message.
parseFrom(byte[]) - Static method in class com.exonum.binding.core.storage.indices.MapProof
Creates a new MapProof given the serialized map proof message.
parseFrom(byte[]) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(byte[]) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(ByteString) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(ByteString) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(InputStream) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(InputStream) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
parser() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
parser() - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
payload(byte[]) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
Sets the payload of the transaction.
Prefixed - Class in com.exonum.binding.core.storage.database
A prefixed database access.
previousBlockHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the hash of the previous block in the hash chain.
ProofEntryIndex<T> - Interface in com.exonum.binding.core.storage.indices
A proof entry is a hashable variant of EntryIndex.
ProofEntryIndexProxy<T> - Class in com.exonum.binding.core.storage.indices
A proxy of a native MerkleDB ProofEntry.
ProofListIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
A proof list index proxy is a contiguous list of elements, capable of providing cryptographic proofs that it contains a certain element at a particular position.
ProofMapIndexProxy<K,​V> - Class in com.exonum.binding.core.storage.indices
A ProofMapIndexProxy is an index that maps keys to values.
proposerId(int) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the identifier of the leader node which has proposed the block.
ProxyDestructor - Class in com.exonum.binding.core.proxy
ProxyDestructor is a clean action that destroys a native proxy and closes its native handle.
ProxyDestructor(NativeHandle, Class<?>, LongConsumer) - Constructor for class com.exonum.binding.core.proxy.ProxyDestructor
Creates a new destructor of a native proxy.
put(K, V) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Puts a new key-value pair into the map.
put(K, V) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
put(K, V) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Puts a new key-value pair into the map.
putAll(Map<? extends K, ? extends V>) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Puts all key-value pairs from the given map into this map.
putAll(Map<? extends K, ? extends V>) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
putAll(Map<? extends K, ? extends V>) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 

R

RawTransaction - Class in com.exonum.binding.core.transaction
An Exonum raw transaction.
RawTransaction() - Constructor for class com.exonum.binding.core.transaction.RawTransaction
 
RawTransaction.Builder - Class in com.exonum.binding.core.transaction
 
reason() - Method in annotation type com.exonum.binding.core.annotations.AutoGenerationCandidate
Why or how an element can be auto-generated.
reason() - Method in annotation type com.exonum.binding.core.annotations.ImproveDocs
A description of why this annotation was added.
ReflectiveModuleSupplier - Class in com.exonum.binding.core.runtime
A reflective supplier of service modules that instantiates them with a no-arg constructor.
ReflectiveModuleSupplier(Class<? extends ServiceModule>) - Constructor for class com.exonum.binding.core.runtime.ReflectiveModuleSupplier
Creates a module supplier for a given service module class.
registerAllExtensions(ExtensionRegistry) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos
 
registerAllExtensions(ExtensionRegistryLite) - Static method in class com.exonum.binding.core.testkit.internal.TestKitProtos
 
remove() - Method in interface com.exonum.binding.core.storage.indices.EntryIndex
Removes a value from this entry.
remove(E) - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Removes the element from this set.
remove(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Removes the element from this set.
remove(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Removes the value mapped to the specified key from the map.
remove(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
remove(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
removeByHash(HashCode) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Removes an element from this set by its hash.
removeLast() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Removes the last element of the list and returns it.
removeServices(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
removeServiceSpecs(int) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
removeSubRouter(String) - Method in interface com.exonum.binding.core.transport.Server
Removes the sub router from the root router of this server registered by the given path.
resourceType() - Method in interface com.exonum.binding.core.proxy.CleanAction
Returns the description of the type of resource this action corresponds to.
resourceType() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
 
resume(ExecutionContext, byte[]) - Method in interface com.exonum.binding.core.service.Service
Resumes the previously stopped service instance.
RoErasedAccess - Class in com.exonum.binding.core.storage.database
A readonly, "erased", database Access object.
rollback() - Method in class com.exonum.binding.core.storage.database.Fork
Rollbacks changes to the latest checkpoint.
RuntimeTransport - Class in com.exonum.binding.core.runtime
Runtime transport connects service APIs to the web-server.
RuntimeTransport(Server, int) - Constructor for class com.exonum.binding.core.runtime.RuntimeTransport
Creates a new runtime transport.

S

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_SPECS_FIELD_NUMBER - Static variable in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
serviceId(int) - Method in class com.exonum.binding.core.service.ExecutionContext.Builder
Sets service id for the context.
serviceId(int) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
Sets the identifier of the service this transaction belongs to.
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.service.ExecutionContext.Builder
Sets service name for the context.
ServiceRuntime - Class in com.exonum.binding.core.runtime
A service runtime.
ServiceRuntime(ServiceLoader, ServicesFactory, RuntimeTransport, BlockchainDataFactory, 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, AccessFactory) - Constructor for class com.exonum.binding.core.runtime.ServiceRuntimeAdapter
 
SERVICES_FIELD_NUMBER - Static variable in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
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.
set(T) - Method in interface com.exonum.binding.core.storage.indices.EntryIndex
Sets a new value of the entry, overwriting the previous value.
setArtifactSpec(Base.ArtifactSpec) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
setArtifactSpec(Base.ArtifactSpec.Builder) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Artifact description.
setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
 
setServices(int, TestKitProtos.TestKitService) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
setServices(int, TestKitProtos.TestKitService.Builder) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.Builder
repeated .exonum.testkit.TestKitService services = 1;
setServiceSpecs(int, Lifecycle.InstanceInitParams) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
setServiceSpecs(int, Lifecycle.InstanceInitParams.Builder) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
Services to start on blockchain instantiation.
setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances.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 access.
start(int) - Method in interface com.exonum.binding.core.transport.Server
Requests the server to start listening on the given TCP port.
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 class com.exonum.binding.core.runtime.NodeProxy
 
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.

T

TemporaryDb - Class in com.exonum.binding.core.storage.database
A MerkleDB which stores its data in the temporary directory for testing purposes.
TestKitProtos - Class in com.exonum.binding.core.testkit.internal
 
TestKitProtos.TestKitService - Class in com.exonum.binding.core.testkit.internal
Protobuf type exonum.testkit.TestKitService
TestKitProtos.TestKitService.Builder - Class in com.exonum.binding.core.testkit.internal
Protobuf type exonum.testkit.TestKitService
TestKitProtos.TestKitServiceInstances - Class in com.exonum.binding.core.testkit.internal
DTO for TestKit initialization.
TestKitProtos.TestKitServiceInstances.Builder - Class in com.exonum.binding.core.testkit.internal
DTO for TestKit initialization.
TestKitProtos.TestKitServiceInstancesOrBuilder - Interface in com.exonum.binding.core.testkit.internal
 
TestKitProtos.TestKitServiceOrBuilder - Interface in com.exonum.binding.core.testkit.internal
 
toBuilder() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
toBuilder() - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
toBytes(TransactionLocation) - Method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
 
toBytes(Block) - Method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
 
toOptional() - Method in interface com.exonum.binding.core.storage.indices.EntryIndex
Converts the entry to Optional.
toString() - Method in class com.exonum.binding.core.proxy.Cleaner
Returns a string representation of this object, including its hash code so that this instance can be easily identified in the logs.
toString() - Method in class com.exonum.binding.core.proxy.NativeHandle
 
toString() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
 
toString() - Method in class com.exonum.binding.core.runtime.ReflectiveModuleSupplier
 
toString() - Method in exception com.exonum.binding.core.service.ExecutionException
Returns a string representation of this error.
toString() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
 
Transaction - Annotation Type in com.exonum.binding.core.transaction
Indicates that a method is a transaction method.
transactionId(int) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
Sets the identifier of the transaction within a service.
TransactionLocationSerializer - Enum in com.exonum.binding.core.blockchain.serialization
 
TransactionSubmissionException - Exception in com.exonum.binding.core.service
Indicates that a transaction could not be submitted.
TransactionSubmissionException(String) - Constructor for exception com.exonum.binding.core.service.TransactionSubmissionException
 
truncate(long) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Truncates the list, reducing its size to newSize.
txMessageHash(HashCode) - Method in class com.exonum.binding.core.service.ExecutionContext.Builder
Sets transaction message hash for the context.
txRootHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the Merkle root hash of the collection holding all transactions in this block.
typeAdapter(Gson) - Static method in class com.exonum.binding.core.blockchain.Block
Provides a Gson type adapter for this class.

U

UnexpectedExecutionException - Exception in com.exonum.binding.core.runtime
An "unexpected" service execution exception indicates that any exception but ExecutionException occurred in a service method.
UnexpectedExecutionException(Throwable) - Constructor for exception com.exonum.binding.core.runtime.UnexpectedExecutionException
Creates a new unexpected execution exception.
updateInstanceStatus(ServiceInstanceSpec, Lifecycle.InstanceStatus) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Modifies the state of the given service instance at the runtime either by activation it or stopping.

V

value() - Method in annotation type com.exonum.binding.core.transaction.Transaction
The transaction type identifier.
valueOf(BlockchainData, OptionalInt, long) - Static method in class com.exonum.binding.core.service.BlockCommittedEventImpl
Creates a new block committed event.
valueOf(String) - Static method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.exonum.binding.core.runtime.AccessProxyFactory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.exonum.binding.core.storage.indices.IndexAddress
Creates an address of an individual index.
valueOf(String, byte[]) - Static method in class com.exonum.binding.core.storage.indices.IndexAddress
Creates an address of an index belonging to an index group.
values() - Static method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.exonum.binding.core.runtime.AccessProxyFactory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Returns an iterator over the map values.
values() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
values() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
ValueSetIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
A value set is an index that contains no duplicate elements (values).
ValueSetIndexProxy.Entry<E> - Class in com.exonum.binding.core.storage.indices
An entry of a value set index: a hash-value pair.
verifyConfiguration(ExecutionContext, Configuration) - Method in interface com.exonum.binding.core.service.Configurable
Verifies the correctness of the proposed configuration.

W

withBlockchainData(Function<BlockchainData, ResultT>) - Method in interface com.exonum.binding.core.service.Node
Performs the given function with a snapshot of the current database state.
withBlockchainData(Function<BlockchainData, ResultT>) - Method in class com.exonum.binding.core.service.NodeFake
 
withServiceData(Function<? super Prefixed, ResultT>) - Method in interface com.exonum.binding.core.service.Node
Performs the given function with a snapshot of the current database state.
withSnapshot(Function<Snapshot, ResultT>) - Method in class com.exonum.binding.core.runtime.NodeProxy
 
writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitService
 
writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.testkit.internal.TestKitProtos.TestKitServiceInstances
 
A B C D E F G H I K L M N O P R S T U V W 
All Classes All Packages