Skip to content

Commit

Permalink
feat: deprecated partitioned database pool
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Jan 12, 2025
1 parent 60fd05c commit 1e9a953
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
* @author Andrey Lomakin (a.lomakin-at-orientdb.com)
* @since 06/11/14
*/
@Deprecated
public class OPartitionedDatabasePool extends OOrientListenerAbstract {
private static final OLogger logger =
OLogManager.instance().logger(OPartitionedDatabasePool.class);
Expand All @@ -93,10 +94,12 @@ public class OPartitionedDatabasePool extends OOrientListenerAbstract {
private volatile boolean closed = false;
private boolean autoCreate = false;

@Deprecated
public OPartitionedDatabasePool(String url, String userName, String password) {
this(url, userName, password, Runtime.getRuntime().availableProcessors(), -1);
}

@Deprecated
public OPartitionedDatabasePool(
String url, String userName, String password, int maxPartitionSize, int maxPoolSize) {
this.url = url;
Expand Down

0 comments on commit 1e9a953

Please sign in to comment.