Skip navigation links
A B C D E F G H I K L M N P R S T V W 

A

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
 
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(T) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Adds a new element to the end of the list.
add(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Adds a new element to the set.
addAll(Collection<? extends T>) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Adds all elements from the specified collection to this list.
addAllRuntimeStateHashes(Iterable<? extends ByteString>) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
addAllServiceStateHashes(Iterable<? extends ServiceRuntimeProtos.ServiceStateHashes>) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
addAllStateHashes(Iterable<? extends ByteString>) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service state hashes.
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
addRuntimeStateHashes(ByteString) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
addServiceStateHashes(ServiceRuntimeProtos.ServiceStateHashes) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
addServiceStateHashes(int, ServiceRuntimeProtos.ServiceStateHashes) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
addServiceStateHashes(ServiceRuntimeProtos.ServiceStateHashes.Builder) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
addServiceStateHashes(int, ServiceRuntimeProtos.ServiceStateHashes.Builder) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
addServiceStateHashesBuilder() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
addServiceStateHashesBuilder(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
addStateHashes(ByteString) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service state hashes.
afterCommit(BlockCommittedEvent) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Notifies the services in the runtime of the block commit event.
afterCommit(BlockCommittedEvent) - Method in interface com.exonum.binding.core.service.Service
Handles read-only block commit event.
applyConfiguration(Fork, Configuration) - Method in interface com.exonum.binding.core.service.Configurable
Applies the given configuration to this service.
ARTIFACT_FILENAME_FIELD_NUMBER - Static variable in class com.exonum.binding.core.runtime.DeployArguments
 
authorPk(PublicKey) - Method in class com.exonum.binding.core.transaction.TransactionContext.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.
AutoValueGson_CoreTypeAdapterFactory - Class in com.exonum.binding.core.blockchain.serialization
 
AutoValueGson_CoreTypeAdapterFactory() - Constructor for class com.exonum.binding.core.blockchain.serialization.AutoValueGson_CoreTypeAdapterFactory
 

B

beforeCommit(int, Fork) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Performs the before commit operation on the specified service in this runtime.
beforeCommit(Fork) - Method in interface com.exonum.binding.core.service.Service
Handles the changes made by all transactions included in the upcoming block.
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.
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.
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.runtime.DeployArguments.Builder
 
build() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
build() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
build() - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
Creates the RawTransaction instance with specified parameters.
build() - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
Creates the transaction context instance.
builder() - Static method in class com.exonum.binding.core.blockchain.Block
Creates a new block builder.
Builder() - Constructor for class com.exonum.binding.core.blockchain.Block.Builder
 
Builder() - Constructor for class com.exonum.binding.core.transaction.RawTransaction.Builder
 
builder() - Static method in interface com.exonum.binding.core.transaction.TransactionContext
Returns the builder of the transaction context.
buildPartial() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
buildPartial() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
buildPartial() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 

C

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.View
Returns true if this view allows modifications to the database state; false if it is immutable.
clean() - Method in interface com.exonum.binding.core.proxy.CleanAction
A clean operation to perform.
clean() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
Closes the native handle, so that it can no longer be accessed, and performs a clean action, passing the native handle value.
CleanAction<ResourceDescriptionT> - Interface in com.exonum.binding.core.proxy
A clean action is an operation that is performed to release some resources.
Cleaner - Class in com.exonum.binding.core.proxy
A context controlling lifecycle of native proxies.
Cleaner() - Constructor for class com.exonum.binding.core.proxy.Cleaner
Creates a new cleaner with no (an empty) description.
Cleaner(String) - Constructor for class com.exonum.binding.core.proxy.Cleaner
Creates a new cleaner.
clear() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
clear() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
clear() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
clear() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Removes all of the elements from this set.
clear() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Clears the list.
clear() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Removes all of the key-value pairs from the map.
clear() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
clear() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
clear() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Removes all of the elements from this set.
clearArtifactFilename() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
A name of the service artifact file located in the directory for storing Java service artifacts.
clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
clearInstanceId() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service instance numeric identifier.
clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
clearRuntimeStateHashes() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
clearServiceStateHashes() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
clearStateHashes() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service state hashes.
clone() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
clone() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
clone() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
close() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
 
close() - Method in class com.exonum.binding.core.proxy.Cleaner
Performs all the clean operations that has been registered in this context in a reversed order of the registration order.
close() - Method in interface com.exonum.binding.core.proxy.CloseableNativeProxy
Closes the native proxy and releases any native resources associated with this proxy.
close() - Method in class com.exonum.binding.core.proxy.NativeHandle
 
close() - Method in class com.exonum.binding.core.runtime.RuntimeTransport
Stops the web-server.
close() - Method in class com.exonum.binding.core.runtime.ServiceRuntime
 
CloseableNativeProxy - Interface in com.exonum.binding.core.proxy
A proxy of a native object that must be explicitly closed.
CloseFailuresException - Exception in com.exonum.binding.core.proxy
Indicates that there were failures when it was attempted to close some native proxies.
com.exonum.binding.core.annotations - package com.exonum.binding.core.annotations
 
com.exonum.binding.core.blockchain - package com.exonum.binding.core.blockchain
 
com.exonum.binding.core.blockchain.serialization - package com.exonum.binding.core.blockchain.serialization
 
com.exonum.binding.core.proxy - package com.exonum.binding.core.proxy
 
com.exonum.binding.core.runtime - package com.exonum.binding.core.runtime
 
com.exonum.binding.core.service - package com.exonum.binding.core.service
 
com.exonum.binding.core.service.adapters - package com.exonum.binding.core.service.adapters
An internal package with adapters of Java Service interfaces to the interface, convenient to the native code.
com.exonum.binding.core.storage.database - package com.exonum.binding.core.storage.database
 
com.exonum.binding.core.storage.indices - package com.exonum.binding.core.storage.indices
Contains Exonum indexes — persistent, named collections built on top of Exonum key-value storage.
com.exonum.binding.core.transaction - package com.exonum.binding.core.transaction
 
com.exonum.binding.core.transport - package com.exonum.binding.core.transport
 
com.exonum.binding.core.util - package com.exonum.binding.core.util
 
commitService(ServiceInstanceSpec) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Adds a service instance to the runtime after it has been successfully initialized in ServiceRuntime.startAddingService(Fork, ServiceInstanceSpec, byte[]).
Configurable - Interface in com.exonum.binding.core.service
A configurable Exonum service.
Configuration - Interface in com.exonum.binding.core.service
Configuration parameters of Exonum service.
configure() - Method in class com.exonum.binding.core.runtime.FrameworkModule
 
contains(E) - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Returns true if this set contains the specified element.
contains(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Returns true if this set contains the specified element.
containsBlock(Block) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns true if the blockchain contains exactly the same block as the passed value; false if it does not contain such block.
containsByHash(HashCode) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Returns true if this set contains an element with the specified hash.
containsKey(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Returns true if this map contains a mapping for the specified key.
containsKey(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
containsKey(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
CoreTypeAdapterFactory - Class in com.exonum.binding.core.blockchain.serialization
Class used to automatically create Gson type adapters for all AutoValue classes located in this module.
CoreTypeAdapterFactory() - Constructor for class com.exonum.binding.core.blockchain.serialization.CoreTypeAdapterFactory
 
create(Gson, TypeToken<T>) - Method in class com.exonum.binding.core.blockchain.serialization.AutoValueGson_CoreTypeAdapterFactory
 
create() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreTypeAdapterFactory
 
create() - Static method in interface com.exonum.binding.core.transport.Server
Creates an HTTP server with no request handlers.
createCheckpoint() - Method in class com.exonum.binding.core.storage.database.Fork
Creates in-memory checkpoint of the current state of this Fork.
createDataSchema(View) - Method in class com.exonum.binding.core.service.AbstractService
Creates a data schema of this service.
createFork(long, Cleaner) - Method in interface com.exonum.binding.core.runtime.ViewFactory
Creates a new owning fork.
createFork(long, Cleaner) - Method in enum com.exonum.binding.core.runtime.ViewProxyFactory
 
createFork(Cleaner) - Method in interface com.exonum.binding.core.storage.database.Database
Creates a new database fork.
createFork(Cleaner) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
 
createPublicApiHandlers(Node, Router) - Method in interface com.exonum.binding.core.service.Service
Creates handlers that make up the public HTTP API of this service.
createRouter() - Method in interface com.exonum.binding.core.transport.Server
Creates a request router.
createSnapshot(long, Cleaner) - Method in interface com.exonum.binding.core.runtime.ViewFactory
Creates a new owning snapshot.
createSnapshot(long, Cleaner) - Method in enum com.exonum.binding.core.runtime.ViewProxyFactory
 
createSnapshot(Cleaner) - Method in interface com.exonum.binding.core.storage.database.Database
Creates a new snapshot of the database state.
createSnapshot(Cleaner) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
 

D

Database - Interface in com.exonum.binding.core.storage.database
Represents an underlying Exonum Storage database.
DeployArguments - Class in com.exonum.binding.core.runtime
Java ServiceRuntime deploy arguments, specified in the deploy request transaction.
DeployArguments.Builder - Class in com.exonum.binding.core.runtime
Java ServiceRuntime deploy arguments, specified in the deploy request transaction.
DeployArgumentsOrBuilder - Interface in com.exonum.binding.core.runtime
 
DeployArgumentsOuterClass - Class in com.exonum.binding.core.runtime
 
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(View) - 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.service.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
 
EntryIndexProxy<T> - Class in com.exonum.binding.core.storage.indices
An Entry is a database index that can contain no or a single value.
equals(Object) - Method in class com.exonum.binding.core.runtime.DeployArguments
 
equals(Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
equals(Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
equals(Object) - Method in class com.exonum.binding.core.storage.indices.IndexAddress
 
execute(TransactionContext) - Method in interface com.exonum.binding.core.transaction.Transaction
Execute the transaction, possibly modifying the blockchain state.
executeTransaction(int, String, int, byte[], Fork, int, HashCode, PublicKey) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Executes a transaction belonging to the given service.

F

findBlock(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a block object for given block hash.
findOpenIndex(IndexAddress) - Method in class com.exonum.binding.core.storage.database.View
Finds an open index by the given address.
Fork - Class in com.exonum.binding.core.storage.database
A fork is a database view, allowing both read and write operations.
fork(Fork) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
Sets database fork for the context.
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
 
fromMessage(TransactionMessage) - Static method in class com.exonum.binding.core.transaction.RawTransaction
Creates a raw transaction from the given transaction message.

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 class com.exonum.binding.core.storage.indices.EntryIndexProxy
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(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
Returns the value associated with the specified key, or null if there is no mapping for the key.
get(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
 
get(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
 
getActualPort() - Method in interface com.exonum.binding.core.transport.Server
Returns a port this server is listening at, or OptionalInt.empty() if it does not currently accept requests.
getAddress() - Method in interface com.exonum.binding.core.storage.indices.StorageIndex
Returns the index address: its unique identifier in the database.
getArtifactFilename() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
A name of the service artifact file located in the directory for storing Java service artifacts.
getArtifactFilename() - Method in class com.exonum.binding.core.runtime.DeployArguments
A name of the service artifact file located in the directory for storing Java service artifacts.
getArtifactFilename() - Method in interface com.exonum.binding.core.runtime.DeployArgumentsOrBuilder
A name of the service artifact file located in the directory for storing Java service artifacts.
getArtifactFilenameBytes() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
A name of the service artifact file located in the directory for storing Java service artifacts.
getArtifactFilenameBytes() - Method in class com.exonum.binding.core.runtime.DeployArguments
A name of the service artifact file located in the directory for storing Java service artifacts.
getArtifactFilenameBytes() - Method in interface com.exonum.binding.core.runtime.DeployArgumentsOrBuilder
A name of the service artifact file located in the directory for storing Java service artifacts.
getArtifactId() - Method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
Returns the service artifact id.
getAsMessage(Class<MessageT>) - Method in interface com.exonum.binding.core.service.Configuration
Returns the configuration parameters as a Protocol Buffers message.
getAuthorPk() - Method in interface com.exonum.binding.core.transaction.TransactionContext
Returns public key of the transaction author.
getBlock(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the block at the given height.
getBlockHash() - Method in class com.exonum.binding.core.blockchain.Block
Returns the SHA-256 hash of this block.
getBlockHashes() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a list of all block hashes, indexed by the block height.
getBlocks() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a map that stores a block object for every block hash.
getBlockTransactions(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a proof list of transaction hashes committed in the block at the given height.
getBlockTransactions(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a proof list of transaction hashes committed in the block with the given id.
getBlockTransactions(Block) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a proof list of transaction hashes committed in the given block.
getCleaner() - Method in class com.exonum.binding.core.storage.database.Fork
 
getCleaner() - Method in class com.exonum.binding.core.storage.database.Snapshot
 
getCleaner() - Method in class com.exonum.binding.core.storage.database.View
Returns the cleaner of this view.
getConsensusConfiguration() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the current consensus configuration of the network.
getDatabase() - Method in class com.exonum.binding.core.service.NodeFake
Returns the underlying database.
getDefaultInstance() - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
getDefaultInstance() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
getDefaultInstance() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
getDefaultInstanceForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
getDescription() - Method in class com.exonum.binding.core.proxy.Cleaner
Returns a description of this cleaner.
getDescriptor() - Static method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
getDescriptor() - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
getDescriptor() - Static method in class com.exonum.binding.core.runtime.DeployArgumentsOuterClass
 
getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos
 
getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
getDescriptor() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
getDescriptorForType() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
getDescriptorForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
getDescriptorForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
getErrorCode() - Method in exception com.exonum.binding.core.transaction.TransactionExecutionException
Returns the transaction error code.
getFork() - Method in interface com.exonum.binding.core.transaction.TransactionContext
Returns database view allowing R/W operations.
getHash() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
Returns a hash of the element of the set.
getHeight() - Method in class com.exonum.binding.core.blockchain.Block
Returns the height of this block which is a distance between the last block and the "genesis" block.
getHeight() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the blockchain height which is the height of the latest committed block in the blockchain.
getHeight() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
Returns the current blockchain height, which is the height of the last committed block.
getHeight() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
 
getId() - Method in enum com.exonum.binding.core.runtime.RuntimeId
Returns the numeric id assigned to this runtime by the Exonum core.
getId() - Method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
Returns the numeric id of the service instance.
getId() - Method in class com.exonum.binding.core.service.AbstractService
Returns the numeric id of the service instance.
getIdInGroup() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
Returns the index id in a group if it belongs to one, otherwise returns an empty optional.
getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Returns the index hash which represents the complete state of this list.
getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Returns the index hash which represents the complete state of this map.
getInstance() - Static method in enum com.exonum.binding.core.runtime.ViewProxyFactory
Returns an instance of this factory.
getInstanceId() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service instance numeric identifier.
getInstanceId() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
Service instance numeric identifier.
getInstanceId() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
Service instance numeric identifier.
getInstanceSpec() - Method in class com.exonum.binding.core.service.AbstractService
Returns this service instance specification.
getLast() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Returns the last element of the list.
getLastBlock() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns the latest committed block.
getName() - Method in class com.exonum.binding.core.runtime.ServiceArtifactId
Returns the full artifact name of this service (e.g., "com.acme:land-registry:1.2.0").
getName() - Method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
Returns the name of the service instance.
getName() - Method in class com.exonum.binding.core.service.AbstractService
Returns the name of the service instance.
getName() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
Returns the name of the index or index group.
getName() - Method in interface com.exonum.binding.core.storage.indices.StorageIndex
Returns the name of this index.
getNativeHandle() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
Returns a native implementation-specific handle if it may be safely used to access the native object.
getNativeHandle() - Method in class com.exonum.binding.core.proxy.AbstractNativeProxy
Returns a handle to the native object if it may be safely used to access the native object.
getNumRegisteredActions() - Method in class com.exonum.binding.core.proxy.Cleaner
Returns the number of the registered clean actions.
getNumTransactions() - Method in class com.exonum.binding.core.blockchain.Block
Number of transactions in this block.
getParserForType() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
getParserForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
getParserForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
getPayload() - Method in class com.exonum.binding.core.transaction.RawTransaction
Returns the transaction payload which contains actual transaction data.
getPreviousBlockHash() - Method in class com.exonum.binding.core.blockchain.Block
Hash link to the previous block in the blockchain.
getProof(long) - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Deprecated.
Proofs are temporarily disabled since 0.9.0-rc1, and will be re-enabled in a later release
getProof(K, K...) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Deprecated.
Proofs are temporarily disabled since 0.9.0-rc1, and will be re-enabled in a later release
getProof(Collection<? extends K>) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Deprecated.
Proofs are temporarily disabled since 0.9.0-rc1, and will be re-enabled in a later release
getProposerId() - Method in class com.exonum.binding.core.blockchain.Block
Identifier of the leader node which has proposed the block.
getPublicKey() - Method in interface com.exonum.binding.core.service.Node
Returns the service public key of this node.
getPublicKey() - Method in class com.exonum.binding.core.service.NodeFake
 
getPublicKey() - Method in class com.exonum.binding.core.service.NodeProxy
Returns the service public key of this node.
getRangeProof(long, long) - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Deprecated.
Proofs are temporarily disabled since 0.9.0-rc1, and will be re-enabled in a later release
getRuntimeId() - Method in class com.exonum.binding.core.runtime.ServiceArtifactId
Returns the runtime id in which the service shall be deployed.
getRuntimeStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashes(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashesCount() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getRuntimeStateHashesList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
getSerializedSize() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
getSerializedSize() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
getSerializedSize() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
getServiceId() - Method in class com.exonum.binding.core.transaction.RawTransaction
Returns a service identifier which the transaction belongs to.
getServiceId() - Method in interface com.exonum.binding.core.transaction.TransactionContext
Returns the numeric id of the service instance.
getServiceName() - Method in interface com.exonum.binding.core.transaction.TransactionContext
Returns the name of the service instance.
getServiceRuntime() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeAdapter
Returns the corresponding service runtime.
getServiceStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
getServiceStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
State hashes of each active service in the runtime.
getServiceStateHashes(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
State hashes of each active service in the runtime.
getServiceStateHashesBuilder(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
getServiceStateHashesBuilderList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
getServiceStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
getServiceStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
State hashes of each active service in the runtime.
getServiceStateHashesCount() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
State hashes of each active service in the runtime.
getServiceStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
getServiceStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
State hashes of each active service in the runtime.
getServiceStateHashesList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
State hashes of each active service in the runtime.
getServiceStateHashesOrBuilder(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
getServiceStateHashesOrBuilder(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
State hashes of each active service in the runtime.
getServiceStateHashesOrBuilder(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
State hashes of each active service in the runtime.
getServiceStateHashesOrBuilderList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
getServiceStateHashesOrBuilderList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
State hashes of each active service in the runtime.
getServiceStateHashesOrBuilderList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder
State hashes of each active service in the runtime.
getSnapshot() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
Returns the current database snapshot.
getSnapshot() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
 
getStateHash() - Method in class com.exonum.binding.core.blockchain.Block
Hash of the blockchain state after applying transactions in the block.
getStateHashes(Snapshot) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Returns the state hashes of this runtime and the services registered in it as a protobuf message.
getStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service state hashes.
getStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
Service state hashes.
getStateHashes(int) - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
Service state hashes.
getStateHashes(Snapshot) - Method in class com.exonum.binding.core.service.AbstractService
 
getStateHashes() - Method in interface com.exonum.binding.core.service.Schema
Returns the root hashes of Merkelized tables in this database schema, as of the current state of the database.
getStateHashes(Snapshot) - Method in interface com.exonum.binding.core.service.Service
Returns a list of hashes representing the state of this service, as of the given snapshot of the blockchain state.
getStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service state hashes.
getStateHashesCount() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
Service state hashes.
getStateHashesCount() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
Service state hashes.
getStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service state hashes.
getStateHashesList() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
Service state hashes.
getStateHashesList() - Method in interface com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashesOrBuilder
Service state hashes.
getTransactionId() - Method in class com.exonum.binding.core.transaction.RawTransaction
Returns the type of this transaction within a service.
getTransactionMessageHash() - Method in interface com.exonum.binding.core.transaction.TransactionContext
Returns SHA-256 hash of the transaction message that carried the payload from which the transaction was created.
getTransactionPool() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a set of uncommitted (in-pool) transaction hashes; empty in case of no transactions.
getTxLocation(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns transaction position inside the blockchain for given message hash.
getTxLocations() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a map that keeps the transaction position inside the blockchain for every transaction hash.
getTxMessages() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a map of transaction messages identified by their SHA-256 hashes.
getTxResult(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a transaction execution result for given message hash.
getTxResults() - Method in class com.exonum.binding.core.blockchain.Blockchain
Returns a map with a key-value pair of a transaction hash and execution result.
getTxRootHash() - Method in class com.exonum.binding.core.blockchain.Block
Root hash of the Merkle tree of transactions in this block.
getUnknownFields() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
getUnknownFields() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
getUnknownFields() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
getValidatorId() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
If this node is a validator, returns its identifier.
getValidatorId() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
 
getValue() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
Returns an element of the set.
getViewNativeHandle() - Method in class com.exonum.binding.core.storage.database.View
Returns a native handle of this view.

H

hashCode() - Method in class com.exonum.binding.core.blockchain.Block
 
hashCode() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
hashCode() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
hashCode() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
hashCode() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
 
hashCode() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
 
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.
initialize(Node) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Initializes the runtime with the given node.
initialize(Fork, Configuration) - Method in interface com.exonum.binding.core.service.Service
Performs an initial configuration of the service instance.
INSTANCE_ID_FIELD_NUMBER - Static variable in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
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.runtime.DeployArguments.Builder
 
isInitialized() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
isInitialized() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
isInitialized() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
isInitialized() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
isInitialized() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
isPresent() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
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.
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.
merge(Fork) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
Applies the changes from the given fork to the database state.
mergeFrom(Message) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
mergeFrom(DeployArguments) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
mergeFrom(Message) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
mergeFrom(ServiceRuntimeProtos.ServiceRuntimeStateHashes) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
mergeFrom(Message) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
mergeFrom(ServiceRuntimeProtos.ServiceStateHashes) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.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

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.
newBuilder() - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
newBuilder(DeployArguments) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
newBuilder() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
newBuilder(ServiceRuntimeProtos.ServiceRuntimeStateHashes) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
newBuilder() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
newBuilder(ServiceRuntimeProtos.ServiceStateHashes) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
newBuilder() - Static method in class com.exonum.binding.core.transaction.RawTransaction
Returns the new builder for the transaction.
newBuilderForType() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.runtime.DeployArguments
 
newBuilderForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
newBuilderForType() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Creates a new key set in a collection group with the given name.
newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ListIndexProxy
Creates a new list in a collection group with the given name.
newInGroupUnsafe(String, byte[], View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.MapIndexProxy
Creates a new map in a collection group with the given name.
newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Creates a new list in a collection group with the given name.
newInGroupUnsafe(String, byte[], View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Creates a new proof map in a collection group with the given name.
newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Creates a new value set in a collection group with the given name.
newInGroupUnsafeNoKeyHashing(String, byte[], View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Creates a new proof map that uses non-hashed keys in a collection group with the given name.
newInstance(View) - Static method in class com.exonum.binding.core.blockchain.Blockchain
Constructs a new blockchain instance for the given database view.
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.runtime.DeployArguments
 
newInstance(String, int, ServiceArtifactId) - Static method in class com.exonum.binding.core.runtime.ServiceInstanceSpec
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
newInstance(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Fork
Creates a new owning Fork proxy.
newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Fork
Creates a new Fork proxy.
newInstance(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Snapshot
Creates a new owning Snapshot proxy.
newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Snapshot
Creates a new Snapshot proxy.
newInstance() - Static method in class com.exonum.binding.core.storage.database.TemporaryDb
Creates a new empty TemporaryDb.
newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
Creates a new Entry storing protobuf messages.
newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
Creates a new Entry.
newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Creates a new key set storing protobuf messages.
newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Creates a new key set proxy.
newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.ListIndexProxy
Creates a new ListIndexProxy storing protobuf messages.
newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ListIndexProxy
Creates a new ListIndexProxy.
newInstance(String, View, Class<K>, Class<V>) - Static method in class com.exonum.binding.core.storage.indices.MapIndexProxy
Creates a new MapIndexProxy using protobuf messages.
newInstance(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.MapIndexProxy
Creates a new MapIndexProxy.
newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Creates a new ProofListIndexProxy storing protobuf messages.
newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
Creates a new ProofListIndexProxy.
newInstance(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
Creates a ProofMapIndexProxy.
newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Creates a new value set storing protobuf messages.
newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Creates a new value set.
newInstanceNoKeyHashing(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
newJavaId(String) - Static method in class com.exonum.binding.core.runtime.ServiceArtifactId
Creates a new service artifact id of a Java artifact.
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) - 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, 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.service
An Exonum node context.
NodeProxy(long) - Constructor for class com.exonum.binding.core.service.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.

P

parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(ByteString) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(byte[]) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(InputStream) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parseFrom(String) - Static method in class com.exonum.binding.core.runtime.ServiceArtifactId
Parses a service id in format "runtimeId:serviceName" as ServiceArtifactId.toString() produces.
parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(ByteString) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(byte[]) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(InputStream) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(ByteString) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(byte[]) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(InputStream) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
parser() - Static method in class com.exonum.binding.core.runtime.DeployArguments
 
parser() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
parser() - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
payload(byte[]) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
Sets the payload of the transaction.
previousBlockHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the hash of the previous block in the hash chain.
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
 
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(ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.DeployArgumentsOuterClass
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.exonum.binding.core.runtime.DeployArgumentsOuterClass
 
registerAllExtensions(ExtensionRegistryLite) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos
 
registerAllExtensions(ExtensionRegistry) - Static method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos
 
registerIndex(StorageIndex) - Method in class com.exonum.binding.core.storage.database.View
Registers a new index created with this view.
remove() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
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(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
 
remove(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Removes the element from this set.
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.
removeServiceStateHashes(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
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
 
rollback() - Method in class com.exonum.binding.core.storage.database.Fork
Rollbacks changes to the latest checkpoint.
RUNTIME_STATE_HASHES_FIELD_NUMBER - Static variable in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
RuntimeId - Enum in com.exonum.binding.core.runtime
Represents well-known runtime ids, as assigned by the Exonum core.
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_STATE_HASHES_FIELD_NUMBER - Static variable in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
ServiceArtifactId - Class in com.exonum.binding.core.runtime
A service artifact identifier.
ServiceArtifactId() - Constructor for class com.exonum.binding.core.runtime.ServiceArtifactId
 
serviceId(int) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
Sets the identifier of the service this transaction belongs to.
serviceId(int) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
Sets service id for the context.
serviceInstances() - Method in class com.exonum.binding.core.runtime.DispatcherSchema
Returns a map of service instance specifications of started services indexed by their names.
ServiceInstanceSpec - Class in com.exonum.binding.core.runtime
A specification of a service instance.
ServiceInstanceSpec() - Constructor for class com.exonum.binding.core.runtime.ServiceInstanceSpec
 
ServiceLoadingException - Exception in com.exonum.binding.core.runtime
Indicates that a service runtime failed to load the service artifact.
ServiceLoadingException(String) - Constructor for exception com.exonum.binding.core.runtime.ServiceLoadingException
 
ServiceLoadingException(String, Throwable) - Constructor for exception com.exonum.binding.core.runtime.ServiceLoadingException
 
ServiceModule - Interface in com.exonum.binding.core.service
A service module configures the service bindings so that the framework can resolve the service implementation and all its dependencies.
serviceName(String) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
Sets service name for the context.
ServiceRuntime - Class in com.exonum.binding.core.runtime
A service runtime.
ServiceRuntime(ServiceLoader, ServicesFactory, RuntimeTransport, Path) - Constructor for class com.exonum.binding.core.runtime.ServiceRuntime
Creates a new Java service runtime.
ServiceRuntimeAdapter - Class in com.exonum.binding.core.runtime
The adapter of ServiceRuntime to the interface, convenient to the native code accessing it through JNI (simpler, faster, more reliable).
ServiceRuntimeAdapter(ServiceRuntime, ViewFactory) - Constructor for class com.exonum.binding.core.runtime.ServiceRuntimeAdapter
 
ServiceRuntimeProtos - Class in com.exonum.binding.core.runtime
 
ServiceRuntimeProtos.ServiceRuntimeStateHashes - Class in com.exonum.binding.core.runtime
State hashes of the service runtime.
ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder - Class in com.exonum.binding.core.runtime
State hashes of the service runtime.
ServiceRuntimeProtos.ServiceRuntimeStateHashesOrBuilder - Interface in com.exonum.binding.core.runtime
 
ServiceRuntimeProtos.ServiceStateHashes - Class in com.exonum.binding.core.runtime
State hashes of a single service.
ServiceRuntimeProtos.ServiceStateHashes.Builder - Class in com.exonum.binding.core.runtime
State hashes of a single service.
ServiceRuntimeProtos.ServiceStateHashesOrBuilder - Interface in com.exonum.binding.core.runtime
 
set(T) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
Sets a new value of the entry, overwriting the previous value.
set(long, T) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Replaces the element at the given index of the list with the specified element.
setArtifactFilename(String) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
A name of the service artifact file located in the directory for storing Java service artifacts.
setArtifactFilenameBytes(ByteString) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
A name of the service artifact file located in the directory for storing Java service artifacts.
setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
setInstanceId(int) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service instance numeric identifier.
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
setRuntimeStateHashes(int, ByteString) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
Hashes representing the state of the runtime itself (e.g., its internal indexes).
setServiceStateHashes(int, ServiceRuntimeProtos.ServiceStateHashes) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
setServiceStateHashes(int, ServiceRuntimeProtos.ServiceStateHashes.Builder) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
State hashes of each active service in the runtime.
setStateHashes(int, ByteString) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
Service state hashes.
setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.DeployArguments.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes.Builder
 
setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes.Builder
 
shutdown() - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Stops this runtime.
size() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Returns the number of elements in the list.
Snapshot - Class in com.exonum.binding.core.storage.database
A snapshot is a read-only, immutable database view.
start(int) - Method in interface com.exonum.binding.core.transport.Server
Requests the server to start listening on the given TCP port.
startAddingService(Fork, ServiceInstanceSpec, byte[]) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Starts registration of a new service instance with the given specification.
STATE_HASHES_FIELD_NUMBER - Static variable in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
stateHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
Sets the blockchain state hash at the moment this block was committed.
stop() - Method in interface com.exonum.binding.core.transport.Server
Requests the server to stop listening to incoming requests and release any resources.
StorageIndex - Interface in com.exonum.binding.core.storage.indices
Storage index is a persistent, named collection built on top of Exonum key-value storage.
stream() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
Returns a stream of the set elements.
stream() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
Returns a stream of elements in this list.
stream() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
Returns a stream of the entries in this set.
submitTransaction(RawTransaction) - Method in interface com.exonum.binding.core.service.Node
Creates a transaction from the given parameters, signs it with the node service key, and then submits it into Exonum network.
submitTransaction(RawTransaction) - Method in class com.exonum.binding.core.service.NodeFake
Returns a zero hash always, ignoring the transaction.
submitTransaction(RawTransaction) - Method in class com.exonum.binding.core.service.NodeProxy
Creates a transaction from the given parameters, signs it with the node service key, and then submits it into Exonum network.

T

TemporaryDb - Class in com.exonum.binding.core.storage.database
A MerkleDB which stores its data in the temporary directory for testing purposes.
toBuilder() - Method in class com.exonum.binding.core.runtime.DeployArguments
 
toBuilder() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
toBuilder() - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
toBytes(Block) - Method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
 
toBytes(TransactionLocation) - Method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
 
toOptional() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
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 class com.exonum.binding.core.runtime.ServiceArtifactId
Returns an artifact id in the following format: "runtimeId:serviceName".
toString() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
 
toString() - Method in exception com.exonum.binding.core.transaction.TransactionExecutionException
Returns a string representation of this error.
toTransaction(int, byte[]) - Method in interface com.exonum.binding.core.service.TransactionConverter
Converts a transaction type id and serialized transaction arguments to an executable transaction of some service.
Transaction - Interface in com.exonum.binding.core.transaction
An Exonum transaction.
TransactionContext - Interface in com.exonum.binding.core.transaction
Transaction context class.
TransactionContext.Builder - Class in com.exonum.binding.core.transaction
Transaction context builder.
TransactionConverter - Interface in com.exonum.binding.core.service
A converter of a transaction type id and serialized transaction arguments into an executable transaction.
TransactionExecutionException - Exception in com.exonum.binding.core.transaction
An exception occurred during transaction execution.
TransactionExecutionException(byte) - Constructor for exception com.exonum.binding.core.transaction.TransactionExecutionException
Constructs a new transaction exception with no description.
TransactionExecutionException(byte, String) - Constructor for exception com.exonum.binding.core.transaction.TransactionExecutionException
Constructs a new transaction exception with the specified description.
TransactionExecutionException(byte, String, Throwable) - Constructor for exception com.exonum.binding.core.transaction.TransactionExecutionException
Constructs a new transaction exception with the specified description and cause.
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.transaction.TransactionContext.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.

V

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.RuntimeId
Returns the enum constant of this type with the specified name.
valueOf(int, String) - Static method in class com.exonum.binding.core.runtime.ServiceArtifactId
Creates a new service artifact id.
valueOf(String) - Static method in enum com.exonum.binding.core.runtime.ViewProxyFactory
Returns the enum constant of this type with the specified name.
valueOf(Snapshot, OptionalInt, long) - Static method in class com.exonum.binding.core.service.BlockCommittedEventImpl
Creates a new block committed event.
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.RuntimeId
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.ViewProxyFactory
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(Fork, Configuration) - Method in interface com.exonum.binding.core.service.Configurable
Verifies the correctness of the proposed configuration.
verifyTransaction(int, int, byte[]) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
Verifies that an Exonum raw transaction can be correctly converted to an executable transaction of given service.
View - Class in com.exonum.binding.core.storage.database
Represents a view of the database.
ViewFactory - Interface in com.exonum.binding.core.runtime
A factory of views.
ViewProxyFactory - Enum in com.exonum.binding.core.runtime
A factory of View proxies.

W

withSnapshot(Function<Snapshot, 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.service.NodeFake
 
withSnapshot(Function<Snapshot, ResultT>) - Method in class com.exonum.binding.core.service.NodeProxy
Performs the given function with a snapshot of the current database state.
writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.runtime.DeployArguments
 
writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceRuntimeStateHashes
 
writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.runtime.ServiceRuntimeProtos.ServiceStateHashes
 
A B C D E F G H I K L M N P R S T V W 
Skip navigation links

Copyright © 2019 Exonum. All rights reserved.