Ejemplo n.º 1
0
  ChannelServiceStats(ProfileCollector collector) {
    ProfileConsumer consumer =
        collector.getConsumer(ProfileCollectorImpl.CORE_CONSUMER_PREFIX + "ChannelService");
    ProfileLevel level = ProfileLevel.MAX;
    ProfileDataType type = ProfileDataType.TASK_AND_AGGREGATE;

    // Manager operations
    createChannelOp = consumer.createOperation("createChannel", type, level);
    getChannelOp = consumer.createOperation("getChannel", type, level);
  }