UltraLite Static Java User's Guide
UltraLite Static Java API Reference
UltraLite API reference
Class JdbcConnection
long countUploadRows( int mask, long threshold )
Returns the number of rows that need to be uploaded when the next synchronization takes place.
You can use this function to determine if a synchronization is needed.
mask A set of publications to check. A value of 0 corresponds to the entire database. The set is supplied as a mask. For example, the following mask corresponds to publications PUB1 and PUB2.:
UL_PUB_PUB1 | UL_PUB_PUB2
For more information on publication masks, see publication synchronization parameter.
threshold A value that determines the maximum number of rows to count, and so limits the amount of time taken by the call. A value of 0 corresponds to no limit. A value of 1 determines if any rows need to be synchronized.
The number of rows to be uploaded.
java.sql.SQLException