Interface CachingConfig.Builder

    • Method Detail

      • ttl

        CachingConfig.Builder ttl​(Long ttl)

        The TTL in seconds for a resolver that has caching activated.

        Valid values are 1–3,600 seconds.

        Parameters:
        ttl - The TTL in seconds for a resolver that has caching activated.

        Valid values are 1–3,600 seconds.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cachingKeys

        CachingConfig.Builder cachingKeys​(Collection<String> cachingKeys)

        The caching keys for a resolver that has caching activated.

        Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

        Parameters:
        cachingKeys - The caching keys for a resolver that has caching activated.

        Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cachingKeys

        CachingConfig.Builder cachingKeys​(String... cachingKeys)

        The caching keys for a resolver that has caching activated.

        Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

        Parameters:
        cachingKeys - The caching keys for a resolver that has caching activated.

        Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.