Interface Session<L>

    • Method Detail

      • invalidate

        void invalidate()
        Invalidates this session.
        Throws:
        IllegalStateException - if this session was already invalidated.
      • close

        void close()
        Indicates that the application thread is finished with this session. This method is intended to be invoked within the context of a batch.
        Specified by:
        close in interface AutoCloseable
      • getLocalContext

        L getLocalContext()
        Returns the local context of this session. The local context is *not* replicated to other nodes in the cluster.
        Returns:
        a local context