- cacheSize
- the size of the cache. can be (0 to SQLiteDatabase.MaxSqlCacheSize)
Type Reason Java.Lang.IllegalStateException if input cacheSize > SQLiteDatabase.MaxSqlCacheSize.
Sets the maximum size of the prepared-statement cache for this database. (size of the cache = number of compiled-sql-statements stored in the cache).
Maximum cache size can ONLY be increased from its current size (default = 10). If this method is called with smaller size than the current maximum value, then IllegalStateException is thrown.
This method is thread-safe.