3.00.5
3.00.5.2
New Features
-
Added elastic sizing support for
ExclusiveDBConnectionPool. You can configure minimumPoolSize, maximumPoolSize, and idleTimeout through the new constructors orExclusiveDBConnectionPoolConfigto expand the pool based on task pressure and recycle idle connections back to the minimum size. -
Added
ExclusiveDBConnectionPoolConfigfor configuring connection parameters and elastic pool parameters in one configuration class. -
Added runtime status and configuration query methods to
ExclusiveDBConnectionPool:getCurrentConnectionCount(),getMinimumPoolSize(),getMaximumPoolSize(),getIdleTimeout(),getActiveConnectionsCount(), andgetIdleConnectionsCount().
Compatibility Notes
-
Starting from Java API version 3.00.5.2, existing
ExclusiveDBConnectionPoolconstructors remain unchanged. The existing count parameter is internally mapped to both minimumPoolSize and maximumPoolSize, so pools created with existing constructors keep the original fixed-size behavior and do not trigger dynamic expansion or idleTimeout recycling. -
getConnectionCount()returns the current number of live workers/connections. In fixed-size mode, it always equals count. In elastic pool mode, it may change between minimumPoolSize and maximumPoolSize. To get the configured maximum concurrency capacity, usegetMaximumPoolSize(). -
The new query methods are defined on the concrete
ExclusiveDBConnectionPoolclass and are not added to theDBConnectionPoolinterface. To call these methods, declare the pool variable asExclusiveDBConnectionPool.
3.00.5.1
New Features
-
BasicTable now supports constructors using Java native types.
-
BasicTable now supports the
addColumnmethod for Java native types, allowing columns to be added to the table.-
public void addColumn(String colName, List<?> col) -
public void addColumn(String colName, Object[] col)
-
Compatibility Notes
Starting from Java API version 3.00.5.1, BasicTable adds multiple
addColumn overloads. If the second argument col needs to
be null, its type must be explicitly declared, for example: (List<?>) null,
(Vector) null, or (Object[]) null.
3.00.5.0
New Features
-
Added an asynchronous write utility for the multi-active deployment architecture of DolphinDB.
-
Added interface
UpdateListenerfor StreamingSQLClient to enable real-time monitoring of Streaming SQL subscription data changes and allow users to process the updates as needed. -
Added method
getStreamingSQLSubscriptionInfofor StreamingSQLClient to retrieve subscription information based on queryId. -
Added method
Appendfor BasicAnyVector to append data in forms such as matrix, set, table, and dict. -
Added method
appendEventWithResponseto synchronously wait for the response of a specific event.
Improvement
-
Optimized the EOFException error message when canceling subscriptions.
Issues Fixed
-
Fixed an issue where StreamingSQLClient reported an error when updating tables while writing
anydata. -
Fixed a vulnerability in the
lz4-javadependency used by the Java API, replacingorg.lz4withat.yawk.lz4.
