@ManagedAnnotation("localPublishOperationCount") @ManagedDescription(" the total number of published messages of this topic on this member") public long getLocalPublishOperationCount() { return managedObject.getLocalTopicStats().getPublishOperationCount(); }
@ManagedAnnotation("localReceiveOperationCount") @ManagedDescription("the total number of received messages of this topic on this member") public long getLocalReceiveOperationCount() { return managedObject.getLocalTopicStats().getReceiveOperationCount(); }
@ManagedAnnotation("localCreationTime") @ManagedDescription("the creation time of this topic on this member") public long getLocalCreationTime() { return managedObject.getLocalTopicStats().getCreationTime(); }
@ManagedAnnotation("localReceiveOperationCount") @ManagedDescription("the total number of received messages of this topic on this member") public long getLocalReceiveOperationCount() { return managedObject.getLocalTopicStats().getReceiveOperationCount(); }
@ManagedAnnotation("localPublishOperationCount") @ManagedDescription(" the total number of published messages of this topic on this member") public long getLocalPublishOperationCount() { return managedObject.getLocalTopicStats().getPublishOperationCount(); }
@ManagedAnnotation("localCreationTime") @ManagedDescription("the creation time of this topic on this member") public long getLocalCreationTime() { return managedObject.getLocalTopicStats().getCreationTime(); }
public void start() throws Exception { getMap().size(); getList().size(); getSet().size(); getQueue().size(); getTopic().getLocalTopicStats(); getMultiMap().size(); hazelcast.getExecutorService("default").getLocalExecutorStats(); for (int i = 1; i <= LOAD_EXECUTORS_COUNT; i++) { hazelcast.getExecutorService(EXECUTOR_NAMESPACE + " " + i).getLocalExecutorStats(); } if (lineReader == null) { lineReader = new DefaultLineReader(); } running = true; while (running) { print("hazelcast[" + namespace + "] > "); try { final String command = lineReader.readLine(); handleCommand(command); } catch (Throwable e) { e.printStackTrace(); } } }
public void start() throws Exception { getMap().size(); getList().size(); getSet().size(); getQueue().size(); getTopic().getLocalTopicStats(); getMultiMap().size(); hazelcast.getExecutorService("default").getLocalExecutorStats(); for (int i = 1; i <= LOAD_EXECUTORS_COUNT; i++) { hazelcast.getExecutorService(EXECUTOR_NAMESPACE + " " + i).getLocalExecutorStats(); } if (lineReader == null) { lineReader = new DefaultLineReader(); } running = true; while (running) { print("hazelcast[" + namespace + "] > "); try { final String command = lineReader.readLine(); handleCommand(command); } catch (Throwable e) { e.printStackTrace(); } } }