Class EvitaClientSession

java.lang.Object
io.evitadb.driver.EvitaClientSession
All Implemented Interfaces:
EvitaSessionContract, Closeable, AutoCloseable, Comparable<EvitaSessionContract>

@NotThreadSafe public class EvitaClientSession extends Object implements EvitaSessionContract
The EvitaClientSession implements EvitaSessionContract interface and aims to behave identically as if the evitaDB is used as an embedded engine. The EvitaClientSession is not thread-safe. It keeps a gRPC session opened, but it doesn't mean that the session on the server side is still alive. Server can close the session due to the timeout and the client will realize this on the next server call attempt.
Author:
Jan Novotný (novotny@fg.cz), FG Forrest a.s. (c) 2022
See Also: