rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
throws NotImplementedException
public int getCharCount() throws NotImplementedException { return 0; // TODO }
return 0;
int charCount; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { charCount = view.getDocument().getLength(); } else { charCount = getAccessibleName().length(); } return charCount;
public int getCharCount() throws NotImplementedException { return 0; // TODO }
public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException
public AttributeSet getCharacterAttribute(int i)
public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO }
return null;
AttributeSet atts = null; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { } return atts;
public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO }
public Rectangle getCharacterBounds(int value0) throws NotImplementedException
public Rectangle getCharacterBounds(int i)
public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO }
return null;
Rectangle rect = null; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { Rectangle shape = new Rectangle(0, 0, getWidth(), getHeight()); try { Shape s = view.modelToView(i, shape, Position.Bias.Forward); rect = s.getBounds(); } catch (BadLocationException ex) { rect = null; } } return rec...
public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO }
throws NotImplementedException
public Number getCurrentAccessibleValue() throws NotImplementedException { return null; // TODO }
return null;
Integer retVal; if (isSelected()) retVal = new Integer(1); else retVal = new Integer(0); return retVal;
public Number getCurrentAccessibleValue() throws NotImplementedException { return null; // TODO }
public int getIndexAtPoint(Point value0) throws NotImplementedException
public int getIndexAtPoint(Point p)
public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO }
return 0;
int index = -1; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { Rectangle shape = new Rectangle(0, 0, getWidth(), getHeight()); index = view.viewToModel(p.x, p.y, shape, new Position.Bias[1]); } return index;
public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO }
throws NotImplementedException
public Number getMaximumAccessibleValue() throws NotImplementedException { return null; // TODO }
return null;
return new Integer(1);
public Number getMaximumAccessibleValue() throws NotImplementedException { return null; // TODO }
throws NotImplementedException
public Number getMinimumAccessibleValue() throws NotImplementedException { return null; // TODO }
return null;
return new Integer(0);
public Number getMinimumAccessibleValue() throws NotImplementedException { return null; // TODO }
throws NotImplementedException { return null;
{ return null;
public String getSelectedText() throws NotImplementedException { return null; // TODO }
throws NotImplementedException
public int getSelectionEnd() throws NotImplementedException { return 0; // TODO }
return 0;
return -1;
public int getSelectionEnd() throws NotImplementedException { return 0; // TODO }
throws NotImplementedException
public int getSelectionStart() throws NotImplementedException { return 0; // TODO }
return 0;
return -1;
public int getSelectionStart() throws NotImplementedException { return 0; // TODO }
public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException
public boolean setCurrentAccessibleValue(Number value)
public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO }
return false;
boolean retVal = false; if (value != null) { if (value.intValue() == 0) setSelected(false); else setSelected(true); retVal = true; } return retVal;
public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO }
clientBorderPaintedSet = true;
public void setBorderPainted(boolean b) { if (borderPainted == b) return; boolean old = borderPainted; borderPainted = b; firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); }
clientContentAreaFilledSet = true;
public void setContentAreaFilled(boolean b) { if (contentAreaFilled == b) return; // The JDK sets the opaque property to the value of the contentAreaFilled // property, so should we do. setOpaque(b); boolean old = contentAreaFilled; contentAreaFilled = b; firePropertyChange(CO...
clientIconTextGapSet = true;
public void setIconTextGap(int i) { if (iconTextGap == i) return; int old = iconTextGap; iconTextGap = i; firePropertyChange("iconTextGap", new Integer(old), new Integer(i)); revalidate(); repaint(); }
clientRolloverEnabledSet = true;
public void setRolloverEnabled(boolean r) { if (rollOverEnabled != r) { rollOverEnabled = r; firePropertyChange(ROLLOVER_ENABLED_CHANGED_PROPERTY, !r, r); revalidate(); repaint(); } }
this.id = new GUID().toString();
public BaseJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName) { this.slaveURL = slaveURL; this.jndiProperties = jndiProperties; this.destName = destinationName; this.connectionFactoryJndiName = connectionFactoryJndiName; }
protected JobTimings runJob(Job job)
protected JobResult runJob(Job job)
protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; }
JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings;
return sendRequestToSlave(job.getSlaveURL(), new RunRequest(job));
protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; }
protected JobTimings[] runJobs(Job[] jobs)
protected JobResult[] runJobs(Job[] jobs)
protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for...
JobTimings[] results = new JobTimings[jobs.length];
JobResult[] results = new JobResult[jobs.length];
protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for...
results[i] = runners[i].result;
results[i] = jobs[i].getResult();
protected JobTimings[] runJobs(Job[] jobs) { JobRunner[] runners = new JobRunner[jobs.length]; for (int i = 0; i < jobs.length; i++) { runners[i] = new JobRunner(jobs[i]); Thread t = new Thread(runners[i]); runners[i].thread = t; t.start(); } for...
{ runJob(createDefaultDrainJob(queueName));
{
protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver});
protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
protected void runMessageTypeJob(Execution execution, MessageFactory mf, String messageType, int type) { runJob(createDefaultDrainJob(queueName)); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(4096); sender.setMf(mf); sende...
protected JobTimings sendRequestToSlave(String slaveURL, ServerRequest request)
protected JobResult sendRequestToSlave(String slaveURL, ServerRequest request)
protected JobTimings sendRequestToSlave(String slaveURL, ServerRequest request) { try { InvokerLocator locator = new InvokerLocator(slaveURL); Client client = new Client(locator, "perftest"); Object res = client.invoke(request); if (res == null) { ...
if (res == null) { log.error("Job Failed!!!!!!!!!!!!!!!"); } return (JobTimings)res;
return (JobResult)res;
protected JobTimings sendRequestToSlave(String slaveURL, ServerRequest request) { try { InvokerLocator locator = new InvokerLocator(slaveURL); Client client = new Client(locator, "perftest"); Object res = client.invoke(request); if (res == null) { ...
log.info("Draining queues"); drainQueue(queueName); for (int i = 0; i < scaleNumber; i++) { drainQueue(queueNamePrefix + i); } drainSubscription(topicName, subscriptionName, clientID); log.info("Drained queues");
public void setUp() { try { log.trace("Setting up PerfRunner"); String jndiPropertiesFileName = System.getProperty("perf.jndiProperties", "jndi.properties"); this.jndiProperties = loadProps(jndiPropertiesFileName); String perfPropertiesFile...
warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "testMessageSizeThroughput")) { return; }
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].testTime;
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ...
warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testMessageTypes() { log.info("Running test MessageTypes"); // First drain the destination warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageTypes"); ...
log.info("Running test Queue1"); runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize);...
try { log.info("Running test Queue1"); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageFactory()); sender.setTransacted(false); sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT); JobResult res = run...
public void testQueue1() { log.info("Running test Queue1"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultS...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE);
public void testQueue10() { log.info("Running test Queue10"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefault...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "Queue10")) { return; }
public void testQueue10() { log.info("Running test Queue10"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefault...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
public void testQueue10() { log.info("Running test Queue10"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefault...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueue11() { log.info("Running test Queue11"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages mess...
JobTimings result = runJob(receiver);
JobResult result = runJob(receiver); if (!checkResult(result, "Queue11")) { return; }
public void testQueue11() { log.info("Running test Queue11"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages mess...
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.getTestTime()));
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.testTime));
public void testQueue11() { log.info("Running test Queue11"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages mess...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueue12() { log.info("Running test Queue12"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMes...
JobTimings result = runJob(receiver);
JobResult result = runJob(receiver); if (!checkResult(result, "Queue12")) { return; }
public void testQueue12() { log.info("Running test Queue12"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMes...
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.getTestTime()));
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.testTime));
public void testQueue12() { log.info("Running test Queue12"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMes...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED);
public void testQueue13() { log.info("Running test Queue13"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); //Now fill it with numMessages mes...
JobTimings result = runJob(receiver);
JobResult result = runJob(receiver); if (!checkResult(result, "Queue13")) { return; }
public void testQueue13() { log.info("Running test Queue13"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); //Now fill it with numMessages mes...
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.getTestTime()));
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.testTime));
public void testQueue13() { log.info("Running test Queue13"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); //Now fill it with numMessages mes...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED);
public void testQueue14() { log.info("Running test Queue14"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); //Now fill it with numMessages...
JobTimings result = runJob(receiver);
JobResult result = runJob(receiver); if (!checkResult(result, "Queue14")) { return; }
public void testQueue14() { log.info("Running test Queue14"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); //Now fill it with numMessages...
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.getTestTime()));
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.testTime));
public void testQueue14() { log.info("Running test Queue14"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); //Now fill it with numMessages...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueue15() { log.info("Running test Queue15"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages mess...
JobTimings result = runJob(receiver);
JobResult result = runJob(receiver); if (!checkResult(result, "Queue15")) { return; }
public void testQueue15() { log.info("Running test Queue15"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages mess...
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.getTestTime()));
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.testTime));
public void testQueue15() { log.info("Running test Queue15"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages mess...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueue16() { log.info("Running test Queue16"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages ...
JobTimings result = runJob(receiver);
JobResult result = runJob(receiver); if (!checkResult(result, "Queue16")) { return; }
public void testQueue16() { log.info("Running test Queue16"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages ...
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.getTestTime()));
execution.addMeasurement(new Measurement("msgsReceivedPerSec", (double)(numMessages * 1000) / result.testTime));
public void testQueue16() { log.info("Running test Queue16"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages ...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); FillJob fillJob = createDefaultFillJob(queueName, numMessages); fillJob.setDeliveryMode(DeliveryMode.PERSISTENT); fillJob.setMsgSize(standardMessageSize); fillJob....
try { FillJob fillJob = createDefaultFillJob(queueName, numMessages); fillJob.setDeliveryMode(DeliveryMode.PERSISTENT); fillJob.setMsgSize(standardMessageSize); fillJob.setMf(new BytesMessageMessageFactory()); runJob(fillJob); BrowserJob job = createDefaultBrowserJob(queueName); JobResult result = runJob(job); if ...
public void testQueue17() { log.info("Running test Queue17"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages ...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); FillJob fillJob = createDefaultFillJob(queueName, numMessages); fillJob.setDeliveryMode(DeliveryMode.NON_PERSISTENT); fillJob.setMsgSize(standardMessageSize); fill...
try { FillJob fillJob = createDefaultFillJob(queueName, numMessages); fillJob.setDeliveryMode(DeliveryMode.NON_PERSISTENT); fillJob.setMsgSize(standardMessageSize); fillJob.setMf(new BytesMessageMessageFactory()); runJob(fillJob); BrowserJob job = createDefaultBrowserJob(queueName); JobResult result = runJob(job); ...
public void testQueue18() { log.info("Running test Queue18"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages ...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); FillJob fillJob = createDefaultFillJob(queueName, numMessages); fillJob.setDeliveryMode(DeliveryMode.NON_PERSISTENT); fillJob.setMsgSize(standardMessageSize); fill...
try { FillJob fillJob = createDefaultFillJob(queueName, numMessages); fillJob.setDeliveryMode(DeliveryMode.NON_PERSISTENT); fillJob.setMsgSize(standardMessageSize); fillJob.setMf(new BytesMessageMessageFactory()); runJob(fillJob); String selector = "JMSMessageID IS NOT NULL AND NonExistentProperty IS NULL"; Browser...
public void testQueue19() { log.info("Running test Queue19"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); //Now fill it with numMessages ...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageFa...
try { SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageFactory()); sender.setTransacted(false); sender.setDeliveryMode(DeliveryMode.PERSISTENT); JobResult res = runJob(sender); if (!checkResult(res, "Q...
public void testQueue2() { log.info("Running test Queue2"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSende...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMess...
try { SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageFactory()); sender.setTransacted(true); sender.setTransactionSize(100); sender.setDeliveryMode(DeliveryMode.NON_PERSISTENT); JobResult res = runJob...
public void testQueue3() { log.info("Running test Queue3"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefault...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageF...
try { SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize); sender.setMf(new BytesMessageMessageFactory()); sender.setTransacted(true); sender.setTransactionSize(100); sender.setDeliveryMode(DeliveryMode.PERSISTENT); JobResult res = runJob(sen...
public void testQueue4() { log.info("Running test Queue4"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefaultSend...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueue5() { log.info("Running test Queue5"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultS...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "Queue5")) { return; }
public void testQueue5() { log.info("Running test Queue5"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultS...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
public void testQueue5() { log.info("Running test Queue5"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultS...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueue6() { log.info("Running test Queue6"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSende...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "Queue6")) { return; }
public void testQueue6() { log.info("Running test Queue6"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSende...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
public void testQueue6() { log.info("Running test Queue6"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSende...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED);
public void testQueue7() { log.info("Running test Queue7"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefault...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "Queue7")) { return; }
public void testQueue7() { log.info("Running test Queue7"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefault...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
public void testQueue7() { log.info("Running test Queue7"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.NON_PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefault...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED);
public void testQueue8() { log.info("Running test Queue8"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefaultSend...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "Queue8")) { return; }
public void testQueue8() { log.info("Running test Queue8"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefaultSend...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
public void testQueue8() { log.info("Running test Queue8"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); SenderJob sender = createDefaultSend...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE);
public void testQueue9() { log.info("Running test Queue9"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefau...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "Queue9")) { return; }
public void testQueue9() { log.info("Running test Queue9"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefau...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
public void testQueue9() { log.info("Running test Queue9"); //First drain the destination runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.DUPS_OK_ACKNOWLEDGE); SenderJob sender = createDefau...
warmupDestination(queueNamePrefix + (i-1), standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); log.trace("Draining destinations"); for (int j = 0; j < i; j++) { runJob(createDefaultDrainJob(queueNamePrefix + j)); } log.trace("Destinations drained");
public void testQueueScale1() { log.info("Running test testQueueScale1"); Execution execution = createExecution("QueueScale1"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " queue(s)"); warmupDestination(queueNamePrefix + (i-1), ...
JobTimings[] results = runJobs(jobs);
JobResult[] results = runJobs(jobs); if (!checkResults(results, "QueueScale1")) { return; }
public void testQueueScale1() { log.info("Running test testQueueScale1"); Execution execution = createExecution("QueueScale1"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " queue(s)"); warmupDestination(queueNamePrefix + (i-1), ...
JobTimings senderResult = results[j * 2]; JobTimings receiverResult = results[j * 2 + 1]; long timeOfFirstSend = senderResult.getInitTime();
JobResult senderResult = results[j * 2]; JobResult receiverResult = results[j * 2 + 1]; long timeOfFirstSend = senderResult.initTime;
public void testQueueScale1() { log.info("Running test testQueueScale1"); Execution execution = createExecution("QueueScale1"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " queue(s)"); warmupDestination(queueNamePrefix + (i-1), ...
long timeOfLastReceive = receiverResult.getInitTime() + receiverResult.getTestTime();
long timeOfLastReceive = receiverResult.initTime + receiverResult.testTime;
public void testQueueScale1() { log.info("Running test testQueueScale1"); Execution execution = createExecution("QueueScale1"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " queue(s)"); warmupDestination(queueNamePrefix + (i-1), ...
warmupDestination(this.queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueueScale2() { log.info("Running test testQueueScale2"); warmupDestination(this.queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("QueueScale2"); for (int i = 1; i <= scal...
log.trace("Draining destination"); runJob(createDefaultDrainJob(this.queueName)); log.trace("Destination drained");
public void testQueueScale2() { log.info("Running test testQueueScale2"); warmupDestination(this.queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("QueueScale2"); for (int i = 1; i <= scal...
JobTimings[] results = runJobs(jobs);
JobResult[] results = runJobs(jobs); if (!checkResults(results, "QueueScale2")) { return; }
public void testQueueScale2() { log.info("Running test testQueueScale2"); warmupDestination(this.queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("QueueScale2"); for (int i = 1; i <= scal...
long maxTimeOfLastReceive = results[i].getTestTime() + results[i].getInitTime();
long maxTimeOfLastReceive = results[i].testTime + results[i].initTime;
public void testQueueScale2() { log.info("Running test testQueueScale2"); warmupDestination(this.queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("QueueScale2"); for (int i = 1; i <= scal...
JobTimings senderResult = results[j]; long timeOfFirstSend = senderResult.getInitTime();
JobResult senderResult = results[j]; long timeOfFirstSend = senderResult.initTime;
public void testQueueScale2() { log.info("Running test testQueueScale2"); warmupDestination(this.queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("QueueScale2"); for (int i = 1; i <= scal...
runJob(createDefaultDrainJob(queueName)); warmupDestination(queueName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testQueueScale3() { log.info("Running test testQueueScale3"); Execution execution = createExecution("QueueScale3"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " session(s)"); //First drain the destination ...
JobTimings[] results = runJobs(new Job[] {sender, receiver});
JobResult[] results = runJobs(new Job[] {sender, receiver}); if (!checkResults(results, "QueueScale3")) { return; }
public void testQueueScale3() { log.info("Running test testQueueScale3"); Execution execution = createExecution("QueueScale3"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " session(s)"); //First drain the destination ...
long totalTimeTaken = results[1].getTestTime() + results[1].getInitTime() - results[0].getInitTime();
long totalTimeTaken = results[1].testTime + results[1].initTime - results[0].initTime;
public void testQueueScale3() { log.info("Running test testQueueScale3"); Execution execution = createExecution("QueueScale3"); for (int i = 1; i <= scaleNumber; i++) { log.trace("Running with " + i + " session(s)"); //First drain the destination ...
warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);
public void testTopic1() { log.info("Running test Topic1"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSenderJob(topicName); sender.setNumMessages(numMessages); sender.setMsgSi...
JobTimings[] results = runJobs(new Job[] {receiver, sender});
JobResult[] results = runJobs(new Job[] {receiver, sender}); if (!checkResults(results, "Topic1")) { return; }
public void testTopic1() { log.info("Running test Topic1"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSenderJob(topicName); sender.setNumMessages(numMessages); sender.setMsgSi...
long totalTimeTaken = results[0].getTestTime() + results[0].getInitTime() - results[1].getInitTime();
long totalTimeTaken = results[0].testTime + results[0].initTime - results[1].initTime;
public void testTopic1() { log.info("Running test Topic1"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); SenderJob sender = createDefaultSenderJob(topicName); sender.setNumMessages(numMessages); sender.setMsgSi...
warmupDestination(topicName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED);
public void testTopic10() { log.info("Running test Topic10"); warmupDestination(topicName, standardMessageSize, true, DeliveryMode.PERSISTENT, Session.SESSION_TRANSACTED); //First drain the durable subscription DrainJob drainJob = createDefaultDrainJob(topicName); drainJo...