Interface AccessFactory

All Known Implementing Classes:
AccessProxyFactory

public interface AccessFactory
A factory of database accesses.

Enables easier testing of the service runtime adapter.

  • Method Details

    • createSnapshot

      Snapshot createSnapshot​(long nativeHandle, Cleaner cleaner)
      Creates a new owning snapshot.
      Parameters:
      nativeHandle - a handle to the native snapshot object
      cleaner - a cleaner to register the destructor
    • createFork

      Fork createFork​(long nativeHandle, Cleaner cleaner)
      Creates a new owning fork.
      Parameters:
      nativeHandle - a handle to the native fork object
      cleaner - a cleaner to register the destructor
    • createBlockchainData

      BlockchainData createBlockchainData​(long nativeHandle, Cleaner cleaner)
      Creates a new owning blockchain data.
      Parameters:
      nativeHandle - a handle to the native BlockchainData object
      cleaner - a cleaner to register the destructor