Class ShardingRouteCacheValue

java.lang.Object
org.apache.shardingsphere.sharding.cache.route.cache.ShardingRouteCacheValue

public final class ShardingRouteCacheValue extends Object
Value of sharding route cache.
  • Constructor Details

    • ShardingRouteCacheValue

      public ShardingRouteCacheValue(org.apache.shardingsphere.infra.route.context.RouteContext routeContext)
  • Method Details

    • getCachedRouteContext

      public Optional<org.apache.shardingsphere.infra.route.context.RouteContext> getCachedRouteContext()
      Get cached route context.
      Returns:
      optional cached route context