public class ODatabasePartitionPoolFactory extends Object implements org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.OPartitionedDatabasePool>
| Constructor and Description |
|---|
ODatabasePartitionPoolFactory(String url,
String database,
String username,
String password,
com.orientechnologies.orient.core.db.ODatabaseType dbType) |
ODatabasePartitionPoolFactory(String url,
String database,
String username,
String password,
com.orientechnologies.orient.core.db.ODatabaseType dbType,
Integer maxPartitonSize,
Integer maxPoolSize) |
| Modifier and Type | Method and Description |
|---|---|
com.orientechnologies.orient.core.db.OPartitionedDatabasePool |
getObject() |
Class<?> |
getObjectType() |
com.orientechnologies.orient.core.db.OPartitionedDatabasePool |
getPool() |
boolean |
isSingleton() |
void |
setPool(com.orientechnologies.orient.core.db.OPartitionedDatabasePool pool) |
public ODatabasePartitionPoolFactory(String url, String database, String username, String password, com.orientechnologies.orient.core.db.ODatabaseType dbType)
public com.orientechnologies.orient.core.db.OPartitionedDatabasePool getPool()
public void setPool(com.orientechnologies.orient.core.db.OPartitionedDatabasePool pool)
public com.orientechnologies.orient.core.db.OPartitionedDatabasePool getObject()
throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.OPartitionedDatabasePool>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.OPartitionedDatabasePool>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<com.orientechnologies.orient.core.db.OPartitionedDatabasePool>Copyright © 2018. All rights reserved.