MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.SessionFactory Interface Reference
Inheritance diagram for com.mysql.clusterj.SessionFactory:

Public Member Functions

Session getSession ()
Session getSession (Map properties)
void close ()

Detailed Description

SessionFactory represents a cluster.

Definition at line 26 of file SessionFactory.java.

Member Function Documentation

void com.mysql.clusterj.SessionFactory.close ( )

Close this session factory. Release all resources.

Implemented in com.mysql.clusterj.core.SessionFactoryImpl.

Here is the caller graph for this function:

Session com.mysql.clusterj.SessionFactory.getSession ( )

Create a Session to use with the cluster, using all the properties of the SessionFactory.

Returns
the session

Implemented in com.mysql.clusterj.core.SessionFactoryImpl.

Here is the caller graph for this function:

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.

Parameters
propertiesoverriding some properties for this session
Returns
the session

Implemented in com.mysql.clusterj.core.SessionFactoryImpl.


The documentation for this interface was generated from the following file: