Package com.linkedin.databus.client.pub

Examples of com.linkedin.databus.client.pub.DatabusV3Registration


  }

  private void processBootstrapEventsRegistrationV3(DatabusRequest request)
      throws IOException, RequestProcessingException
  {
    DatabusV3Registration reg = findV3Registration(request, BOOTSTRAP_EVENTS_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getBootstrapEventStats().getTotalStats(), request);
  }
View Full Code Here


  }

  private void processInboundCallbacksRegistrationV3(DatabusRequest request)
      throws IOException, RequestProcessingException
  {
    DatabusV3Registration reg = findV3Registration(request, INBOUND_CALLBACKS_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getRelayCallbackStats(), request);
  }
View Full Code Here

  }

  private void processBootstrapCallbacksRegistrationV3(DatabusRequest request)
      throws IOException, RequestProcessingException
  {
    DatabusV3Registration reg = findV3Registration(request, BOOTSTRAP_CALLBACKS_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getBootstrapCallbackStats(), request);
  }
View Full Code Here

  }

  private void processUnifiedRegistrationV3(DatabusRequest request)
      throws IOException, RequestProcessingException
  {
    DatabusV3Registration reg = findV3Registration(request, UNIFIED_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getUnifiedClientStats(), request);
  }
View Full Code Here

  private DatabusV3Registration findV3Registration(DatabusRequest request, String prefix)
    throws InvalidRequestParamValueException
  {
    String category = request.getParams().getProperty(DatabusRequest.PATH_PARAM_NAME);
    String registrationIdStr = category.substring(prefix.length());
    DatabusV3Registration reg = _client.getRegistration(new RegistrationId(registrationIdStr));
    if ( null == reg )
    {
        LOG.warn("Invalid registrationId: " + registrationIdStr );
        throw new InvalidRequestParamValueException(request.getName(), prefix, "No data available for this RegistrationId yet" );
    }
View Full Code Here

TOP

Related Classes of com.linkedin.databus.client.pub.DatabusV3Registration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.