public TabularData getSlowConsumers() throws OpenDataException { OpenTypeSupport.OpenTypeFactory factory = OpenTypeSupport.getFactory(SlowConsumerEntry.class); CompositeType ct = factory.getCompositeType(); TabularType tt = new TabularType("SlowConsumers", "Table of current slow Consumers", ct, new String[] {"subscription" }); TabularDataSupport rc = new TabularDataSupport(tt); int index = 0; Map<Subscription, SlowConsumerEntry> slowConsumers = strategy.getSlowConsumers(); for (Map.Entry<Subscription, SlowConsumerEntry> entry : slowConsumers.entrySet()) { entry.getValue().setSubscription(broker.getSubscriberObjectName(entry.getKey())); rc.put(OpenTypeSupport.convert(entry.getValue())); } return rc; }
public TabularData getSlowConsumers() throws OpenDataException { OpenTypeSupport.OpenTypeFactory factory = OpenTypeSupport.getFactory(SlowConsumerEntry.class); CompositeType ct = factory.getCompositeType(); TabularType tt = new TabularType("SlowConsumers", "Table of current slow Consumers", ct, new String[] {"subscription" }); TabularDataSupport rc = new TabularDataSupport(tt); int index = 0; Map<Subscription, SlowConsumerEntry> slowConsumers = strategy.getSlowConsumers(); for (Map.Entry<Subscription, SlowConsumerEntry> entry : slowConsumers.entrySet()) { entry.getValue().setSubscription(broker.getSubscriberObjectName(entry.getKey())); rc.put(OpenTypeSupport.convert(entry.getValue())); } return rc; }
public TabularData getSlowConsumers() throws OpenDataException { OpenTypeSupport.OpenTypeFactory factory = OpenTypeSupport.getFactory(SlowConsumerEntry.class); CompositeType ct = factory.getCompositeType(); TabularType tt = new TabularType("SlowConsumers", "Table of current slow Consumers", ct, new String[] {"subscription" }); TabularDataSupport rc = new TabularDataSupport(tt); int index = 0; Map<Subscription, SlowConsumerEntry> slowConsumers = strategy.getSlowConsumers(); for (Map.Entry<Subscription, SlowConsumerEntry> entry : slowConsumers.entrySet()) { entry.getValue().setSubscription(broker.getSubscriberObjectName(entry.getKey())); rc.put(OpenTypeSupport.convert(entry.getValue())); } return rc; }
public TabularData getSlowConsumers() throws OpenDataException { OpenTypeSupport.OpenTypeFactory factory = OpenTypeSupport.getFactory(SlowConsumerEntry.class); CompositeType ct = factory.getCompositeType(); TabularType tt = new TabularType("SlowConsumers", "Table of current slow Consumers", ct, new String[] {"subscription" }); TabularDataSupport rc = new TabularDataSupport(tt); int index = 0; Map<Subscription, SlowConsumerEntry> slowConsumers = strategy.getSlowConsumers(); for (Map.Entry<Subscription, SlowConsumerEntry> entry : slowConsumers.entrySet()) { entry.getValue().setSubscription(broker.getSubscriberObjectName(entry.getKey())); rc.put(OpenTypeSupport.convert(entry.getValue())); } return rc; }
public TabularData getSlowConsumers() throws OpenDataException { OpenTypeSupport.OpenTypeFactory factory = OpenTypeSupport.getFactory(SlowConsumerEntry.class); CompositeType ct = factory.getCompositeType(); TabularType tt = new TabularType("SlowConsumers", "Table of current slow Consumers", ct, new String[] {"subscription" }); TabularDataSupport rc = new TabularDataSupport(tt); int index = 0; Map<Subscription, SlowConsumerEntry> slowConsumers = strategy.getSlowConsumers(); for (Map.Entry<Subscription, SlowConsumerEntry> entry : slowConsumers.entrySet()) { entry.getValue().setSubscription(broker.getSubscriberObjectName(entry.getKey())); rc.put(OpenTypeSupport.convert(entry.getValue())); } return rc; }