Class ConnectionResourceFactory
java.lang.Object
org.openspaces.persistency.cassandra.pool.ConnectionResourceFactory
- All Implemented Interfaces:
IResourceFactory<ConnectionResource>
public class ConnectionResourceFactory
extends Object
implements 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
Constructors -
Method Summary
-
Constructor Details
-
ConnectionResourceFactory
-
-
Method Details
-
allocate
Description copied from interface:IResourceFactoryAllocates a new resource instance.- Specified by:
allocatein interfaceIResourceFactory<ConnectionResource>- Returns:
- a new instance of type
IResource
-