def setCacheCapacity(capacity=DEFAULT_CACHE_CAPACITY):
 enableCache()
 _entityCache.setCapacity(capacity)

def setCacheCapacity ( capacity = DEFAULT_CACHE_CAPACITY ) : enableCache ( ) _entityCache . setCapacity ( capacity )
set the capacity of the entity cache .