org.openspaces.persistency.cassandra.pool
Class ConnectionResourceFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionResourceFactory
public ConnectionResourceFactory(DataSource dataSource)
allocate
public ConnectionResource allocate()
- Specified by:
allocate
in interface com.j_spaces.kernel.pool.IResourceFactory<ConnectionResource>
Copyright © GigaSpaces.