public class IdleSession extends Object
Constructor and Description |
---|
IdleSession(com.datastax.driver.core.Session ses,
long expirationTimeout)
Creates instance of Cassandra driver session wrapper.
|
Modifier and Type | Method and Description |
---|---|
com.datastax.driver.core.Session |
driverSession()
Returns wrapped Cassandra driver session.
|
boolean |
expired()
Checks if Cassandra driver session expired.
|
void |
release()
Closes wrapped Cassandra driver session
|
public IdleSession(com.datastax.driver.core.Session ses, long expirationTimeout)
ses
- Cassandra driver session.public boolean expired()
public com.datastax.driver.core.Session driverSession()
public void release()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024