Package | Description |
---|---|
com.exonum.binding.proxy | |
com.exonum.binding.service.adapters |
An internal package with adapters of Java Service interfaces
to the interface, convenient to the native code.
|
com.exonum.binding.storage.database |
Modifier and Type | Method and Description |
---|---|
static ProxyDestructor |
ProxyDestructor.newRegistered(Cleaner cleaner,
NativeHandle nativeHandle,
java.lang.Class<?> proxyClass,
java.util.function.LongConsumer destructorFunction)
Creates a new destructor of a native proxy, registered in the given cleaner.
|
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.
|
Snapshot |
ViewProxyFactory.createSnapshot(long nativeHandle,
Cleaner cleaner) |
Snapshot |
ViewFactory.createSnapshot(long nativeHandle,
Cleaner cleaner)
Creates a new owning snapshot.
|
Modifier and Type | Method and Description |
---|---|
Cleaner |
View.getCleaner()
Returns the cleaner of this view.
|
Modifier and Type | Method and Description |
---|---|
Fork |
Database.createFork(Cleaner cleaner)
Creates a new database fork.
|
Fork |
MemoryDb.createFork(Cleaner cleaner) |
Snapshot |
Database.createSnapshot(Cleaner cleaner)
Creates a new snapshot of the database state.
|
Snapshot |
MemoryDb.createSnapshot(Cleaner cleaner) |
static Snapshot |
Snapshot.newInstance(long nativeHandle,
boolean owningHandle,
Cleaner cleaner)
Creates a new Snapshot proxy.
|
static Fork |
Fork.newInstance(long nativeHandle,
boolean owningHandle,
Cleaner cleaner)
Creates a new Fork proxy.
|
static Snapshot |
Snapshot.newInstance(long nativeHandle,
Cleaner cleaner)
Creates a new owning Snapshot proxy.
|
static Fork |
Fork.newInstance(long nativeHandle,
Cleaner cleaner)
Creates a new owning Fork proxy.
|
Copyright © 2018 Exonum. All rights reserved.