Interface ViewFactory

    • Method Summary

      Modifier and Type Method Description
      Fork createFork​(long nativeHandle, Cleaner cleaner)
      Creates a new owning fork.
      Snapshot createSnapshot​(long nativeHandle, Cleaner cleaner)
      Creates a new owning snapshot.
    • Method Detail

      • 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
        Returns:
        a new owning snapshot proxy
      • 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
        Returns:
        a new owning fork proxy