test_class.declarator: check
test_class.original_string: HealthCheck check;
test_class.type: HealthCheck
test_class.var_name: check
test_class.declarator: eventBus
test_class.original_string: EventBus eventBus;
test_class.type: EventBus
test_class.var_name: eventBus
test_class.file: micro-error-codes/src/test/java/com/oath/micro/server/health/HealthCheckTest.java
test_class.identifier: HealthCheckTest
test_case.body: @Test
      public void testSetMaxSizeTooBig() {
          check.setMaxSize(100);
          assertThat(check.getMaxSize(), is(10));
      }
test_case.class_method_signature: HealthCheckTest.testSetMaxSizeTooBig()
test_case.full_signature: @Test public void testSetMaxSizeTooBig()
test_case.identifier: testSetMaxSizeTooBig
test_case.invocations: setMaxSize assertThat getMaxSize is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSetMaxSizeTooBig()
focal_class.declarator: logger = LoggerFactory.getLogger(getClass())
focal_class.modifier: private final
focal_class.original_string: private final Logger logger = LoggerFactory.getLogger(getClass());
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: healthCheckHelper
focal_class.modifier: private final
focal_class.original_string: private final HealthChecker healthCheckHelper;
focal_class.type: HealthChecker
focal_class.var_name: healthCheckHelper
focal_class.declarator: maxSize
focal_class.modifier: @Getter
      private volatile
focal_class.original_string: @Getter
      private volatile int maxSize;
focal_class.type: int
focal_class.var_name: maxSize
focal_class.declarator: hardMax
focal_class.modifier: private final
focal_class.original_string: private final int hardMax;
focal_class.type: int
focal_class.var_name: hardMax
focal_class.declarator: errorBus
focal_class.modifier: private final
focal_class.original_string: private final EventBus errorBus;
focal_class.type: EventBus
focal_class.var_name: errorBus
focal_class.declarator: errors = new ConcurrentLinkedQueue<>()
focal_class.modifier: final
focal_class.original_string: final ConcurrentLinkedQueue<ErrorEvent> errors = new ConcurrentLinkedQueue<>();
focal_class.type: ConcurrentLinkedQueue<ErrorEvent>
focal_class.var_name: errors
focal_class.declarator: fatalErrors = new ConcurrentLinkedQueue<>()
focal_class.modifier: final
focal_class.original_string: final ConcurrentLinkedQueue<ErrorEvent> fatalErrors = new ConcurrentLinkedQueue<>();
focal_class.type: ConcurrentLinkedQueue<ErrorEvent>
focal_class.var_name: fatalErrors
focal_class.file: micro-error-codes/src/main/java/com/oath/micro/server/health/HealthCheck.java
focal_class.identifier: HealthCheck
focal_class.interfaces: implements HealthStatusChecker
focal_class.class_method_signature: HealthCheck.HealthCheck(HealthChecker healthChecker, @Value("${health.check.error.list.size:25}") int maxSize,
              @Value("${health.check.max.error.list.size:2500}") int hardMax, EventBus errorBus)
focal_class.full_signature: @Autowired public  HealthCheck(HealthChecker healthChecker, @Value("${health.check.error.list.size:25}") int maxSize,
              @Value("${health.check.max.error.list.size:2500}") int hardMax, EventBus errorBus)
focal_class.identifier: HealthCheck
focal_class.modifiers: @Autowired public
focal_class.parameters: (HealthChecker healthChecker, @Value("${health.check.error.list.size:25}") int maxSize,
              @Value("${health.check.max.error.list.size:2500}") int hardMax, EventBus errorBus)
focal_class.signature:  HealthCheck(HealthChecker healthChecker, @Value("${health.check.error.list.size:25}") int maxSize,
              @Value("${health.check.max.error.list.size:2500}") int hardMax, EventBus errorBus)
focal_class.class_method_signature: HealthCheck.register()
focal_class.full_signature: @PostConstruct public void register()
focal_class.identifier: register
focal_class.modifiers: @PostConstruct public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void register()
focal_class.class_method_signature: HealthCheck.setMaxSize(int maxSize)
focal_class.full_signature: public void setMaxSize(int maxSize)
focal_class.identifier: setMaxSize
focal_class.modifiers: public
focal_class.parameters: (int maxSize)
focal_class.return: void
focal_class.signature: void setMaxSize(int maxSize)
focal_class.class_method_signature: HealthCheck.handle(ErrorEvent e, ConcurrentLinkedQueue<ErrorEvent> queue)
focal_class.full_signature: private Void handle(ErrorEvent e, ConcurrentLinkedQueue<ErrorEvent> queue)
focal_class.identifier: handle
focal_class.modifiers: private
focal_class.parameters: (ErrorEvent e, ConcurrentLinkedQueue<ErrorEvent> queue)
focal_class.return: Void
focal_class.signature: Void handle(ErrorEvent e, ConcurrentLinkedQueue<ErrorEvent> queue)
focal_class.class_method_signature: HealthCheck.onEvent(final ErrorEvent event)
focal_class.full_signature: @Subscribe public void onEvent(final ErrorEvent event)
focal_class.identifier: onEvent
focal_class.modifiers: @Subscribe public
focal_class.parameters: (final ErrorEvent event)
focal_class.return: void
focal_class.signature: void onEvent(final ErrorEvent event)
focal_class.class_method_signature: HealthCheck.checkHealthStatus()
focal_class.full_signature: public HealthStatus checkHealthStatus()
focal_class.identifier: checkHealthStatus
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HealthStatus
focal_class.signature: HealthStatus checkHealthStatus()
focal_class.class_method_signature: HealthCheck.isOk()
focal_class.full_signature: @Override public boolean isOk()
focal_class.identifier: isOk
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isOk()
focal_method.body: public void setMaxSize(int maxSize) {
          if (maxSize <= hardMax)
              this.maxSize = maxSize;
      }
focal_method.class_method_signature: HealthCheck.setMaxSize(int maxSize)
focal_method.full_signature: public void setMaxSize(int maxSize)
focal_method.identifier: setMaxSize
focal_method.modifiers: public
focal_method.parameters: (int maxSize)
focal_method.return: void
focal_method.signature: void setMaxSize(int maxSize)