MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
Session | getSession () |
Session | getSession (Map properties) |
void | close () |
SessionFactory represents a cluster.
Definition at line 26 of file SessionFactory.java.
void com.mysql.clusterj.SessionFactory.close | ( | ) |
Close this session factory. Release all resources.
Implemented in com.mysql.clusterj.core.SessionFactoryImpl.
Session com.mysql.clusterj.SessionFactory.getSession | ( | ) |
Create a Session to use with the cluster, using all the properties of the SessionFactory.
Implemented in com.mysql.clusterj.core.SessionFactoryImpl.
Session com.mysql.clusterj.SessionFactory.getSession | ( | Map | properties | ) |
Create a session to use with the cluster, overriding some properties. Properties PROPERTY_CLUSTER_CONNECTSTRING, PROPERTY_CLUSTER_DATABASE, and PROPERTY_CLUSTER_MAX_TRANSACTIONS may not be overridden.
properties | overriding some properties for this session |
Implemented in com.mysql.clusterj.core.SessionFactoryImpl.