# Uses of Record Class
com.google.adk.agents.ContextCacheConfig

Packages that use ContextCacheConfig
Package
Description
com.google.adk.agents
com.google.adk.apps
com.google.adk.runner

- ## Uses of ContextCacheConfig in com.google.adk.agents

  Methods in com.google.adk.agents that return types with arguments of type ContextCacheConfig
  Modifier and Type
  Method
  Description
  `Optional<ContextCacheConfig>`
  InvocationContext.`contextCacheConfig()`
  Returns the context cache configuration for the current agent run.
  Methods in com.google.adk.agents with parameters of type ContextCacheConfig
  Modifier and Type
  Method
  Description
  `InvocationContext.Builder`
  InvocationContext.Builder.`contextCacheConfig(@Nullable ContextCacheConfig contextCacheConfig)`
  Sets the context cache configuration for the current agent run.

- ## Uses of ContextCacheConfig in com.google.adk.apps

  Methods in com.google.adk.apps that return ContextCacheConfig
  Modifier and Type
  Method
  Description
  `@Nullable ContextCacheConfig`
  App.`contextCacheConfig()`
  Methods in com.google.adk.apps with parameters of type ContextCacheConfig
  Modifier and Type
  Method
  Description
  `App.Builder`
  App.Builder.`contextCacheConfig(ContextCacheConfig contextCacheConfig)`

- ## Uses of ContextCacheConfig in com.google.adk.runner

  Constructors in com.google.adk.runner with parameters of type ContextCacheConfig
  Modifier
  Constructor
  Description
  `protected`
  `Runner(BaseAgent agent, String appName, BaseArtifactService artifactService, BaseSessionService sessionService, @Nullable BaseMemoryService memoryService, List<? extends Plugin> plugins, @Nullable EventsCompactionConfig eventsCompactionConfig, @Nullable ContextCacheConfig contextCacheConfig)`
  Deprecated.
  Use `Runner.Builder` instead.