docstr: Restart the runtime with the specified cache capacity
  
  :param threads: Max task graph values to cache
code: def cache_capacity(self, value):
      """
      Restart the runtime with the specified cache capacity
  
      :param threads: Max task graph values to cache
      """
      if value != self._cache_capacity:
          self._cache_capacity = value
          self.reset()
  
imports: import pandas
  import psutil
  import pyarrow
  from typing import Union
  from .connection import SqlConnection
  from .dataset import SqlDataset, DataFrameDataset
  from .datasource import PandasDatasource, DfiDatasource
  from .evaluation import get_mark_group_for_scope
  from .transformer import import_pyarrow_interchange, to_arrow_table
  from .local_tz import get_local_tz
  from typing import TypedDict, List, Literal, Any
label_desc: Use image node_id 24 for calling the VegaFusionRuntime obj's underlying member method code with example usage: obj.cache_capacity(value) without return types