| Package | Description |
|---|---|
| com.exonum.binding.core.service | |
| 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 | |
| com.exonum.binding.core.transaction |
| Modifier and Type | Method and Description |
|---|---|
default Optional<String> |
Service.initialize(Fork fork)
Initializes the service.
|
| Modifier and Type | Method and Description |
|---|---|
Fork |
ViewProxyFactory.createFork(long nativeHandle,
Cleaner cleaner) |
Fork |
ViewFactory.createFork(long nativeHandle,
Cleaner cleaner)
Creates a new owning fork.
|
| Modifier and Type | Method and Description |
|---|---|
Fork |
Database.createFork(Cleaner cleaner)
Creates a new database fork.
|
Fork |
MemoryDb.createFork(Cleaner cleaner) |
static Fork |
Fork.newInstance(long nativeHandle,
boolean owningHandle,
Cleaner cleaner)
Creates a new Fork proxy.
|
static Fork |
Fork.newInstance(long nativeHandle,
Cleaner cleaner)
Creates a new owning Fork proxy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemoryDb.merge(Fork fork)
Applies the changes from the given fork to the database state.
|
| Modifier and Type | Method and Description |
|---|---|
Fork |
TransactionContext.getFork()
Returns database view allowing R/W operations.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionContext.Builder |
TransactionContext.Builder.fork(Fork fork)
Sets database fork for the context.
|
Copyright © 2019 Exonum. All rights reserved.