GigaSpaces XAP 9.7.2 API

org.openspaces.persistency.cassandra.pool
Class ConnectionResourceFactory

java.lang.Object
  extended by org.openspaces.persistency.cassandra.pool.ConnectionResourceFactory
All Implemented Interfaces:
com.j_spaces.kernel.pool.IResourceFactory<ConnectionResource>

public class ConnectionResourceFactory
extends Object
implements com.j_spaces.kernel.pool.IResourceFactory<ConnectionResource>

A IResourceFactory for obtaining ConnectionResource instances. Uses a DataSource as the underlying method of obtaining new connections.

Since:
9.1.1
Author:
Dan Kilman

Constructor Summary
ConnectionResourceFactory(DataSource dataSource)
           
 
Method Summary
 ConnectionResource allocate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionResourceFactory

public ConnectionResourceFactory(DataSource dataSource)
Method Detail

allocate

public ConnectionResource allocate()
Specified by:
allocate in interface com.j_spaces.kernel.pool.IResourceFactory<ConnectionResource>

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.