Class PerfCommand

    • Field Detail

      • showLatency

        protected boolean showLatency
      • reportFileName

        protected String reportFileName
      • hdrFileName

        protected String hdrFileName
      • duration

        protected int duration
      • warmup

        protected int warmup
      • messageCount

        protected long messageCount
      • numDestinations

        protected int numDestinations
      • txSize

        protected long txSize
      • commitInterval

        protected long commitInterval
      • destinations

        protected List<String> destinations
    • Constructor Detail

      • PerfCommand

        public PerfCommand()
    • Method Detail

      • onExecuteBenchmark

        protected abstract void onExecuteBenchmark​(javax.jms.ConnectionFactory factory,
                                                   javax.jms.Destination[] jmsDestinations,
                                                   ActionContext context)
                                            throws Exception
        Throws:
        Exception
      • onInterruptBenchmark

        protected abstract void onInterruptBenchmark()
      • lookupDestinations

        protected final javax.jms.Destination[] lookupDestinations​(javax.jms.ConnectionFactory factory)
                                                            throws Exception
        Throws:
        Exception
      • isShowLatency

        public boolean isShowLatency()
      • setShowLatency

        public PerfCommand setShowLatency​(boolean showLatency)
      • getReportFileName

        public String getReportFileName()
      • setReportFileName

        public PerfCommand setReportFileName​(String reportFileName)
      • getHdrFileName

        public String getHdrFileName()
      • getDuration

        public int getDuration()
      • setDuration

        public PerfCommand setDuration​(int duration)
      • getWarmup

        public int getWarmup()
      • setWarmup

        public PerfCommand setWarmup​(int warmup)
      • getMessageCount

        public long getMessageCount()
      • setMessageCount

        public PerfCommand setMessageCount​(long messageCount)
      • getNumDestinations

        public int getNumDestinations()
      • setNumDestinations

        public PerfCommand setNumDestinations​(int numDestinations)
      • getDestinations

        public List<String> getDestinations()