RedisChannelWriterInterceptor implements InstanceMethodsAroundInterceptor, InstanceConstructorInterceptor { @Override public void onConstruct(EnhancedInstance objInst, Object[] allArguments) { EnhancedInstance optionsInst = (EnhancedInstance) allArguments[0]; objInst.setSkyWalkingDynamicField(optionsInst.getSkyWalkingDynamicField()); }  @Override void beforeMethod(EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes,
        MethodInterceptResult result); @Override Object afterMethod(EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes,
        Object ret); @Override void handleMethodException(EnhancedInstance objInst, Method method, Object[] allArguments,
        Class<?>[] argumentsTypes, Throwable t); @Override void onConstruct(EnhancedInstance objInst, Object[] allArguments);  }
@Test public void testOnHugeClusterConsumerConfig() { List<RedisURI> redisURIs = new ArrayList<>(100); for (int i = 0; i < 100; i++) { redisURIs.add(RedisURI.create("localhost", i)); } MockRedisClusterClient mockRedisClusterClient = new MockRedisClusterClient(); MockRedisClusterClientConstructorInterceptor constructorInterceptor = new MockRedisClusterClientConstructorInterceptor(); constructorInterceptor.onConstruct(mockRedisClusterClient, new Object[] { null, redisURIs }); assertThat(mockRedisClusterClient.getOptions().getSkyWalkingDynamicField().toString().length(), Is.is(200)); }