Class RegionChannelProvider

java.lang.Object
io.dingodb.sdk.service.RegionChannelProvider
All Implemented Interfaces:
ChannelProvider

public class RegionChannelProvider extends Object implements ChannelProvider
  • Constructor Details

    • RegionChannelProvider

      public RegionChannelProvider(CoordinatorService coordinatorService, long regionId)
  • Method Details

    • channel

      public io.grpc.Channel channel()
      Specified by:
      channel in interface ChannelProvider
    • refresh

      public void refresh(io.grpc.Channel channel, long trace)
      Specified by:
      refresh in interface ChannelProvider
    • before

      public void before(Message.Request message)
      Specified by:
      before in interface ChannelProvider
    • isStatus

      public boolean isStatus()
    • isIn

      public boolean isIn(byte[] key)