Search in sources :

Example 11 with DatabusV3Registration

use of com.linkedin.databus.client.pub.DatabusV3Registration in project databus by linkedin.

the class ClientStatsRequestProcessor method processInboundEventsRegistrationV3.

private void processInboundEventsRegistrationV3(DatabusRequest request) throws IOException, RequestProcessingException {
    DatabusV3Registration reg = findV3Registration(request, INBOUND_EVENTS_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getRelayEventStats().getTotalStats(), request);
}
Also used : DatabusV3Registration(com.linkedin.databus.client.pub.DatabusV3Registration)

Example 12 with DatabusV3Registration

use of com.linkedin.databus.client.pub.DatabusV3Registration in project databus by linkedin.

the class ClientStatsRequestProcessor method processInboundCallbacksRegistrationV3.

private void processInboundCallbacksRegistrationV3(DatabusRequest request) throws IOException, RequestProcessingException {
    DatabusV3Registration reg = findV3Registration(request, INBOUND_CALLBACKS_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getRelayCallbackStats(), request);
}
Also used : DatabusV3Registration(com.linkedin.databus.client.pub.DatabusV3Registration)

Example 13 with DatabusV3Registration

use of com.linkedin.databus.client.pub.DatabusV3Registration in project databus by linkedin.

the class ClientStatsRequestProcessor method processBootstrapCallbacksRegistrationV3.

private void processBootstrapCallbacksRegistrationV3(DatabusRequest request) throws IOException, RequestProcessingException {
    DatabusV3Registration reg = findV3Registration(request, BOOTSTRAP_CALLBACKS_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getBootstrapCallbackStats(), request);
}
Also used : DatabusV3Registration(com.linkedin.databus.client.pub.DatabusV3Registration)

Example 14 with DatabusV3Registration

use of com.linkedin.databus.client.pub.DatabusV3Registration in project databus by linkedin.

the class ClientStatsRequestProcessor method processUnifiedRegistrationV3.

private void processUnifiedRegistrationV3(DatabusRequest request) throws IOException, RequestProcessingException {
    DatabusV3Registration reg = findV3Registration(request, UNIFIED_REG_KEY_PREFIX);
    writeJsonObjectToResponse(reg.getUnifiedClientStats(), request);
}
Also used : DatabusV3Registration(com.linkedin.databus.client.pub.DatabusV3Registration)

Aggregations

DatabusV3Registration (com.linkedin.databus.client.pub.DatabusV3Registration)14 RegistrationId (com.linkedin.databus.client.pub.RegistrationId)7 DatabusRegistration (com.linkedin.databus.client.pub.DatabusRegistration)4 DatabusV3MultiPartitionRegistration (com.linkedin.databus.client.pub.DatabusV3MultiPartitionRegistration)3 HashMap (java.util.HashMap)3 DbusPartitionInfo (com.linkedin.databus.client.pub.DbusPartitionInfo)2 PhysicalPartition (com.linkedin.databus.core.data_model.PhysicalPartition)2 InvalidRequestParamValueException (com.linkedin.databus2.core.container.request.InvalidRequestParamValueException)2 RequestProcessingException (com.linkedin.databus2.core.container.request.RequestProcessingException)2 ArrayList (java.util.ArrayList)2 Map (java.util.Map)2 TreeMap (java.util.TreeMap)2 DatabusSourcesConnection (com.linkedin.databus.client.DatabusSourcesConnection)1 DbusPartitionInfoImpl (com.linkedin.databus.client.DbusPartitionInfoImpl)1 RegistrationStatsInfo (com.linkedin.databus.client.monitoring.RegistrationStatsInfo)1 DatabusSubscription (com.linkedin.databus.core.data_model.DatabusSubscription)1 Collection (java.util.Collection)1 List (java.util.List)1