Class Session

java.lang.Object
dev.vortex.api.Session

public final class Session extends Object
Handle to a native Vortex session. The session owns a current-thread async runtime and is the entry point for opening data sources and writers.

Sessions are safe to share across threads within a process, though concrete operations (scans, writes) remain single-threaded on the session's runtime thread.

Native resources are released automatically when the session becomes unreachable, via VortexCleaner.

  • Method Details

    • create

      public static Session create()
      Create a new session.
    • nativePointer

      public long nativePointer()
      Internal: returns the native pointer. Do not free directly.