Class H2Connection
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.H2Connection
-
- All Implemented Interfaces:
AutoCloseable
public class H2Connection extends Object implements AutoCloseable
Wrapper to store connection with currently used schema and statement cache.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes wrapped connection (return to pool or close).intstatementCacheSize()StringtoString()
-
-
-
Method Detail
-
statementCacheSize
public int statementCacheSize()
- Returns:
- Statement cache size.
-
close
public void close()
Closes wrapped connection (return to pool or close).- Specified by:
closein interfaceAutoCloseable
-
-