bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 45,387 |
public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test1PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 45,388 |
public void test1PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | public void test1PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | 45,389 |
public void test1PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | public void test1PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | 45,390 |
public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | 45,391 |
public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | public void test2PCReceiveCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); conn2.start(); Session sessProducer = conn2.createSession(false, Sessio... | 45,392 |
public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 45,393 |
public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | public void test2PCReceiveRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn2 = cf.createConnection(); Session sessProducer = conn2.createSession(false, Session.AUTO_ACKNOWLEDGE); ... | 45,394 |
public void test2PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | public void test2PCSendCommit() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession... | 45,395 |
public void test2PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | public void test2PCSendRollback() throws Exception { if (ServerManagement.isRemote()) return; XAConnection conn = null; Connection conn2 = null; try { conn = cf.createXAConnection(); tm.begin(); XASession sess = conn.createXASession(); ... | 45,396 |
protected JBossSession createSessionInternal(boolean transacted, int acknowledgeMode, boolean isXA, int type) throws JMSException { SessionDelegate sessionDelegate = delegate.createSessionDelegate(transacted, acknowledgeMode); return new JBossSession(this.de... | protected JBossSession createSessionInternal(boolean transacted, int acknowledgeMode, boolean isXA, int type) throws JMSException { SessionDelegate sessionDelegate = delegate.createSessionDelegate(transacted, acknowledgeMode); return new JBossSession(session... | 45,397 |
public Accessible getAccessibleChild(JComponent c, int i) { //Return the nth Accessible child of the object. return null; } | public Accessible getAccessibleChild(JComponent c, int i) { //Return the nth Accessible child of the object. return null; } | 45,398 |
public int getAccessibleChildrenCount(JComponent c) { //Returns the number of accessible children in the object. return 0; } | public int getAccessibleChildrenCount(JComponent c) { //Returns the number of accessible children in the object. return 0; } | 45,399 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; String thisAddress = ... | 45,400 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protectedConnectorstartCallbackServer(InvokerLocatorserverLocator)throwsException{if(log.isTraceEnabled()){log.trace(this+"settingupconnectionto"+serverLocator);}finalintMAX_RETRIES=50;booleancompleted=false;intcount=0;Connectorserver=null;StringthisAddress=InetAddress.getLocalHost().getHostAddress();booleanisSSL=serve... | 45,401 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protectedConnectorstartCallbackServer(InvokerLocatorserverLocator)throwsException{if(log.isTraceEnabled()){log.trace(this+"settingupconnectionto"+serverLocator);}finalintMAX_RETRIES=50;booleancompleted=false;intcount=0;Connectorserver=null;StringthisAddress=InetAddress.getLocalHost().getHostAddress();booleanisSSL=serve... | 45,402 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | 45,403 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | 45,404 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protectedConnectorstartCallbackServer(InvokerLocatorserverLocator)throwsException{if(log.isTraceEnabled()){log.trace(this+"settingupconnectionto"+serverLocator);}finalintMAX_RETRIES=50;booleancompleted=false;intcount=0;Connectorserver=null;StringthisAddress=InetAddress.getLocalHost().getHostAddress();booleanisSSL=serve... | 45,405 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protectedConnectorstartCallbackServer(InvokerLocatorserverLocator)throwsException{if(log.isTraceEnabled()){log.trace(this+"settingupconnectionto"+serverLocator);}finalintMAX_RETRIES=50;booleancompleted=false;intcount=0;Connectorserver=null;StringthisAddress=InetAddress.getLocalHost().getHostAddress();booleanisSSL=serve... | 45,406 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protectedConnectorstartCallbackServer(InvokerLocatorserverLocator)throwsException{if(log.isTraceEnabled()){log.trace(this+"settingupconnectionto"+serverLocator);}finalintMAX_RETRIES=50;booleancompleted=false;intcount=0;Connectorserver=null;StringthisAddress=InetAddress.getLocalHost().getHostAddress();booleanisSSL=serve... | 45,407 |
protected Connector startCallbackServer(InvokerLocator serverLocator) throws Exception { if (log.isTraceEnabled()) { log.trace(this + " setting up connection to " + serverLocator); } final int MAX_RETRIES = 50; boolean completed = false; int count = 0; Connector server = null; ... | protectedConnectorstartCallbackServer(InvokerLocatorserverLocator)throwsException{if(log.isTraceEnabled()){log.trace(this+"settingupconnectionto"+serverLocator);}finalintMAX_RETRIES=50;booleancompleted=false;intcount=0;Connectorserver=null;StringthisAddress=InetAddress.getLocalHost().getHostAddress();booleanisSSL=serve... | 45,408 |
public boolean isValid () { return !channel().isOpen(); } | public boolean isValid () { return channel().isOpen(); } | 45,409 |
public synchronized IdBlock getIdBlock(int size) throws Exception { if (size <= 0) { throw new IllegalArgumentException("block size must be > 0"); } if (size > high - nextBlock + 1) { getNextBigBlock(); } long low = nextBlock; nextBlock += s... | public synchronized IdBlock getIdBlock(int size) throws Exception { if (size <= 0) { throw new IllegalArgumentException("block size must be > 0"); } if (size > high - nextBlock + 1) { getNextBigBlock(); } long low = nextBlock; nextBlock += s... | 45,410 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { try { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jp... | 45,411 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { if (started) { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager(); jpm.start(); pm = jpm; txRepos... | 45,412 |
public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | public synchronized void start() throws Exception { if (started) { return; } loadClientAOPConfig(); loadServerAOPConfig(); log.info(this + " starting"); mbeanServer = findMBeanServer(); JDBCPersistenceManager jpm = new JDBCPersistenceManager()... | 45,413 |
public synchronized void stop() throws Exception { if (!started) { return; } unloadServerAOPConfig(); log.debug(this + " stopping"); tearDownConnectionFactories(); destinationManager.destroyAllDestinations(); pm = null; txRepository... | public synchronized void stop() throws Exception { if (!started) { return; } unloadServerAOPConfig(); log.debug(this + " stopping"); tearDownConnectionFactories(); destinationManager.destroyAllDestinations(); pm = null; txRepository = null; ms = null; clientManager = null; destinationManage... | 45,414 |
public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; // TODO } | public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; // TODO } | 45,416 |
public boolean doAccessibleAction(int value0) throws NotImplementedException { return false; // TODO } | public boolean doAccessibleAction(int value0) throws NotImplementedException { boolean retVal = false; if (actionIndex == 0) { doClick(); retVal = true; } return retVal; // TODO } | 45,417 |
public AccessibleAction getAccessibleAction() throws NotImplementedException { return null; // TODO } | public AccessibleAction getAccessibleAction() { return null; // TODO } | 45,418 |
public AccessibleAction getAccessibleAction() throws NotImplementedException { return null; // TODO } | public AccessibleAction getAccessibleAction() throws NotImplementedException { return this; // TODO } | 45,419 |
public int getAccessibleActionCount() throws NotImplementedException { return 0; // TODO } | public int getAccessibleActionCount() { return 0; // TODO } | 45,420 |
public int getAccessibleActionCount() throws NotImplementedException { return 0; // TODO } | public int getAccessibleActionCount() throws NotImplementedException { return 1; // TODO } | 45,421 |
public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; // TODO } | public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; // TODO } | 45,422 |
public String getAccessibleActionDescription(int value0) throws NotImplementedException { return null; // TODO } | public String getAccessibleActionDescription(int value0) throws NotImplementedException { String descr = null; if (actionIndex == 0) { descr = UIManager.getString("AbstractButton.clickText"); } return descr; // TODO } | 45,423 |
public AccessibleIcon[] getAccessibleIcon() throws NotImplementedException { return null; // TODO } | public AccessibleIcon[] getAccessibleIcon() { return null; // TODO } | 45,424 |
public AccessibleIcon[] getAccessibleIcon() throws NotImplementedException { return null; // TODO } | public AccessibleIcon[] getAccessibleIcon() throws NotImplementedException { AccessibleIcon[] ret = null; Icon icon = getIcon(); if (icon instanceof Accessible) { AccessibleContext ctx = ((Accessible) icon).getAccessibleContext(); if (ctx instanceof AccessibleIcon) { ret = new AccessibleIcon[]{ (Access... | 45,425 |
public AccessibleRelationSet getAccessibleRelationSet() throws NotImplementedException { // TODO: What should be modified here? return super.getAccessibleRelationSet(); } | public AccessibleRelationSet getAccessibleRelationSet() { // TODO: What should be modified here? return super.getAccessibleRelationSet(); } | 45,426 |
public AccessibleRelationSet getAccessibleRelationSet() throws NotImplementedException { // TODO: What should be modified here? return super.getAccessibleRelationSet(); } | public AccessibleRelationSet getAccessibleRelationSet() throws NotImplementedException { // TODO: What should be modified here? AccessibleRelationSet relations = super.getAccessibleRelationSet(); ButtonModel model = getModel(); if (model instanceof DefaultButtonModel) { ButtonGroup group = ((Defaul... | 45,427 |
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { return null; // TODO } | public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } | 45,428 |
public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { return null; // TODO } | public AccessibleStateSet getAccessibleStateSet() throws NotImplementedException { AccessibleStateSet state = super.getAccessibleStateSet(); if (getModel().isArmed()) state.add(AccessibleState.ARMED); if (getModel().isPressed()) state.add(AccessibleState.PRESSED); if (isSelected()) state.add(Accessibl... | 45,429 |
public AccessibleText getAccessibleText() throws NotImplementedException { return null; // TODO } | public AccessibleText getAccessibleText() { return null; // TODO } | 45,430 |
public AccessibleText getAccessibleText() throws NotImplementedException { return null; // TODO } | public AccessibleText getAccessibleText() throws NotImplementedException { AccessibleText accessibleText = null; if (getClientProperty(BasicHTML.propertyKey) != null) accessibleText = this; return accessibleText; // TODO } | 45,431 |
public AccessibleValue getAccessibleValue() throws NotImplementedException { return null; // TODO } | public AccessibleValue getAccessibleValue() { return null; // TODO } | 45,432 |
public AccessibleValue getAccessibleValue() throws NotImplementedException { return null; // TODO } | public AccessibleValue getAccessibleValue() throws NotImplementedException { return this; // TODO } | 45,433 |
public int getCaretPosition() throws NotImplementedException { return 0; // TODO } | public int getCaretPosition() { return 0; // TODO } | 45,434 |
public int getCaretPosition() throws NotImplementedException { return 0; // TODO } | public int getCaretPosition() throws NotImplementedException { return -1; // TODO } | 45,435 |
public int getCharCount() throws NotImplementedException { return 0; // TODO } | public int getCharCount() { return 0; // TODO } | 45,436 |
public int getCharCount() throws NotImplementedException { return 0; // TODO } | public int getCharCount() throws NotImplementedException { int charCount; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { charCount = view.getDocument().getLength(); } else { charCount = getAccessibleName().length(); } return charCount; // TODO } | 45,437 |
public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO } | public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO } | 45,438 |
public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { return null; // TODO } | public AttributeSet getCharacterAttribute(int value0) throws NotImplementedException { AttributeSet atts = null; View view = (View) getClientProperty(BasicHTML.propertyKey); if (view != null) { } return atts; // TODO } | 45,439 |
public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO } | public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO } | 45,440 |
public Rectangle getCharacterBounds(int value0) throws NotImplementedException { return null; // TODO } | public Rectangle getCharacterBounds(int value0) throws NotImplementedException { 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.Bi... | 45,441 |
public Number getCurrentAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getCurrentAccessibleValue() { return null; // TODO } | 45,442 |
public Number getCurrentAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getCurrentAccessibleValue() throws NotImplementedException { Integer retVal; if (isSelected()) retVal = new Integer(1); else retVal = new Integer(0); return retVal; // TODO } | 45,443 |
public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO } | public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO } | 45,444 |
public int getIndexAtPoint(Point value0) throws NotImplementedException { return 0; // TODO } | public int getIndexAtPoint(Point value0) throws NotImplementedException { 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]); } r... | 45,445 |
public Number getMaximumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMaximumAccessibleValue() { return null; // TODO } | 45,446 |
public Number getMaximumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMaximumAccessibleValue() throws NotImplementedException { return new Integer(1); // TODO } | 45,447 |
public Number getMinimumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMinimumAccessibleValue() { return null; // TODO } | 45,448 |
public Number getMinimumAccessibleValue() throws NotImplementedException { return null; // TODO } | public Number getMinimumAccessibleValue() throws NotImplementedException { return new Integer(0); // TODO } | 45,449 |
public String getSelectedText() throws NotImplementedException { return null; // TODO } | public String getSelectedText() throws NotImplementedException { return null; // TODO } | 45,450 |
public int getSelectionEnd() throws NotImplementedException { return 0; // TODO } | public int getSelectionEnd() { return 0; // TODO } | 45,451 |
public int getSelectionEnd() throws NotImplementedException { return 0; // TODO } | public int getSelectionEnd() throws NotImplementedException { return -1; // TODO } | 45,452 |
public int getSelectionStart() throws NotImplementedException { return 0; // TODO } | public int getSelectionStart() { return 0; // TODO } | 45,453 |
public int getSelectionStart() throws NotImplementedException { return 0; // TODO } | public int getSelectionStart() throws NotImplementedException { return -1; // TODO } | 45,454 |
public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO } | public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO } | 45,455 |
public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { return false; // TODO } | public boolean setCurrentAccessibleValue(Number value0) throws NotImplementedException { boolean retVal = false; if (value != null) { if (value.intValue() == 0) setSelected(false); else setSelected(true); retVal = true; } return retVal; // TODO } | 45,456 |
protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | protected JobResult runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | 45,462 |
protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | protected JobTimings runJob(Job job) { JobTimings timings = sendRequestToSlave(job.getSlaveURL(), new RunRequest(job)); return timings; } | 45,463 |
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... | protected JobResult[] 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 ... | 45,464 |
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... | 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... | 45,465 |
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... | 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... | 45,466 |
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 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... | 45,467 |
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 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... | 45,468 |
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 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... | 45,469 |
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) { ... | protected JobResult 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) { ... | 45,470 |
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) { ... | 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) { ... | 45,471 |
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); Execution execution = createExecution("MessageSizeThroughput"); //int[] msgsSize = new int[] {0, standardMessageSize, 16384, 65536, 262144, 1048576, 8388608}; int[] ms... | 45,473 |
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | public void testMessageSizeThroughput() {log.info("Running test testMessageSizeThroughput");warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE);Execution execution = createExecution("MessageSizeThroughput");//int[] msgsSize = new int[] {0, standardMessageSize... | 45,474 |
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | 45,475 |
public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | public void testMessageSizeThroughput() { log.info("Running test testMessageSizeThroughput"); warmupDestination(topicName, standardMessageSize, false, DeliveryMode.NON_PERSISTENT, Session.AUTO_ACKNOWLEDGE); Execution execution = createExecution("MessageSizeThroughput"); ... | 45,476 |
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"); ... | public void testMessageTypes() { log.info("Running test MessageTypes"); // First drain the destination Execution execution = createExecution("MessageTypes"); runMessageTypeJob(execution, new MessageMessageFactory(), "javax.jms.Message", 1); runMessageTypeJob(execu... | 45,477 |
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... | 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... | 45,478 |
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... | 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... | 45,479 |
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... | 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... | 45,480 |
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... | 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... | 45,481 |
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... | 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... | 45,482 |
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... | 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... | 45,483 |
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... | 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... | 45,484 |
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... | 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... | 45,485 |
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... | 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... | 45,486 |
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... | 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... | 45,487 |
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... | 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... | 45,488 |
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... | 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... | 45,489 |
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... | 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... | 45,490 |
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... | 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... | 45,491 |
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... | 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... | 45,492 |
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... | 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... | 45,493 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.