Class ServerSessionMiddleware.Session

java.lang.Object
org.apache.arrow.flight.ServerSessionMiddleware.Session
Enclosing class:
ServerSessionMiddleware

public static class ServerSessionMiddleware.Session extends Object
A thread-safe container for named SessionOptionValues.
  • Field Details

  • Method Details

    • getSessionOption

      public SessionOptionValue getSessionOption(String name)
      Get session option by name, or null if it does not exist.
    • getSessionOptions

      public Map<String,SessionOptionValue> getSessionOptions()
      Get an immutable copy of the session options map.
    • setSessionOption

      public void setSessionOption(String name, SessionOptionValue value)
      Set session option by name to given value.
    • eraseSessionOption

      public void eraseSessionOption(String name)
      Idempotently remove name from this session.