rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
if (killed) { ServerManagement.spawn(1); } | ServerManagement.start(1, "all"); | public void testSimpleFailover() throws Exception { JBossConnectionFactory factory = (JBossConnectionFactory )ic[0].lookup("/ConnectionFactory"); ClusteredClientConnectionFactoryDelegate delegate = (ClusteredClientConnectionFactoryDelegate)factory.getDelegate(); Set nodeIDView = Serve... |
ServerManagement.start("all", i); | ServerManagement.start(i, "all"); | protected void setUp() throws Exception { super.setUp(); if (nodeCount < 1) { throw new Exception("Node count not defined! Initalize nodeCount in the test's setUp()"); } ic = new Context[nodeCount]; queue = new Queue[nodeCount]; topic = new Topic[nodeCount]; for(int ... |
public Object lookup (String name) throws NamingException; | Object lookup (Name name) throws NamingException; | public Object lookup (String name) throws NamingException; |
super(); | super("An illegal set of flags, " + flags + ", was supplied."); if (flags == null) throw new NullPointerException("The supplied flags are null."); | public IllegalFormatFlagsException(String flags) { super(); this.flags = flags; } |
IllegalFormatException(String msg) | IllegalFormatException() | IllegalFormatException(String msg) { super(msg); } |
super(msg); | IllegalFormatException(String msg) { super(msg); } | |
history = new HistoryManager(); | public BrowserStartup() { logger.info("starting up"); history = new HistoryManager(); } | |
panel.loadPage("demo:demos/splash/splash.html"); | public void init() { logger.info("creating UI"); actions = new BrowserActions(this); actions.init(); panel = new BrowserPanel(this, new FrameBrowserPanelListener()); panel.init(); panel.createLayout(); panel.createActions(); menu = new BrowserMenuBar(this); ... | |
panel.loadPage("demo:demos/layout/multicol/glish/nested-float.xhtml"); | public void init() { logger.info("creating UI"); actions = new BrowserActions(this); actions.init(); panel = new BrowserPanel(this, new FrameBrowserPanelListener()); panel.init(); panel.createLayout(); panel.createActions(); menu = new BrowserMenuBar(this); ... | |
print_preview = new JButton(); | public void init() { forward = new JButton(); backward = new JButton(); stop = new JButton(); reload = new JButton(); url = new JTextField(); manager = new PanelManager(); view = new XHTMLPanel(manager); scroll = new FSScrollPane(view); RenderingContext... | |
c.gridx++; c.fill = GridBagConstraints.NONE; c.weightx = c.weighty = 0.0; gbl.setConstraints(print_preview, c); add(print_preview); | public void createLayout() { GridBagLayout gbl = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); setLayout(gbl); c.gridx = 0; c.gridy = 0; c.weightx = c.weighty = 0.0; gbl.setConstraints(backward, c); add(backward); c.gridx++; ... | |
print_preview.setAction(root.actions.print_preview); | public void createActions() { backward.setAction(root.actions.backward); forward.setAction(root.actions.forward); reload.setAction(root.actions.reload); url.setAction(root.actions.load); updateButtons(); } | |
logger.info( "added hover listener:" + hl); | logger.info( "added hover listener:" + hl ); LinkListener ll = new LinkListener(root.panel.view); root.panel.view.addMouseListener(ll); root.panel.view.addMouseMotionListener(ll); logger.info( "added link listener: " + ll) ; | public void createActions() { SelectionMouseListener ma = new SelectionMouseListener(); root.panel.view.addMouseListener( ma ); root.panel.view.addMouseMotionListener( ma ); logger.info( "added mouse selection listener: " + ma ); HoverListener hl = new HoverListener(root.panel.vie... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | public void test_Simple_NTNP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_NTNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | public void test_Simple_NTNP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 0, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 0, true) }; | public void test_Simple_NTNP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 0, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 0, true) }; | public void test_Simple_NTNP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | public void test_Simple_NTNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons =... |
long end = System.currentTimeMillis(); log.info("That took: " + (end - start) + " ms"); | public void test_Simple_NTNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons =... | |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_NTNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer con... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | public void test_Simple_NTNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer con... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_NTNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons ... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_NTNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceiv... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | public void test_Simple_NTP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = s... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_NTP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons ... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | public void test_Simple_NTP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons ... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_NTP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = ... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_NTP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | log.info("blah"); Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | public void test_Simple_NTP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_NTP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | public void test_Simple_NTP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_NTP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... |
Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Sender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_NTP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | public void test_Simple_TNP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_TNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | public void test_Simple_TNP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_TNP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_TNP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | public void test_Simple_TNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons =... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_TNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer con... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | public void test_Simple_TNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer con... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_TNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons ... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_TNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceiv... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | public void test_Simple_TP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = s... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_TP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons ... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | public void test_Simple_TP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons ... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_TP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = ... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 20, 3, true) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 20, 3, true) }; | public void test_Simple_TP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | public void test_Simple_TP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_TP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | public void test_Simple_TP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_TP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons =... |
Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new TransactionalSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_TP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(true, Session.SESSION_TRANSACTED); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | public void test_Simple_XNP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_XNP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRecei... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | public void test_Simple_XNP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRecei... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_XNP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_XNP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsu... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | public void test_Simple_XNP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_XNP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRece... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | public void test_Simple_XNP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRece... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_XNP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceiv... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_XNP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createCons... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | public void test_Simple_XP_LA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.c... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_XP_LCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessReceiv... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, true) }; | public void test_Simple_XP_LD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessReceiv... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_XP_LT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive.... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, true) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, true) }; | public void test_Simple_XP_LX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsum... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | public void test_Simple_XP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = sessReceive.... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new RecoveringReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_XP_NLCA() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.CLIENT_ACKNOWLEDGE); MessageConsumer cons = sessRecei... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Receiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, false) }; | public void test_Simple_XP_NLD() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(false, Session.DUPS_OK_ACKNOWLEDGE); MessageConsumer cons = sessRecei... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new TransactionalReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_XP_NLT() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); Session sessReceive = conn.createSession(true, Session.SESSION_TRANSACTED); MessageConsumer cons = sessReceive... |
Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_NON_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_NON_PERSISTENT_MESSAGES, 100, 67, false) }; | Runner[] runners = new Runner[] { new Transactional2PCSender("prod1", sessSend, prod, NUM_PERSISTENT_MESSAGES, 100, 33), new Transactional2PCReceiver(sessReceive, cons, NUM_PERSISTENT_MESSAGES, 100, 67, false) }; | public void test_Simple_XP_NLX() throws Exception { Connection conn = cf.createConnection(); conn.start(); XASession sessSend = ((XAConnection)conn).createXASession(); XASession sessReceive = ((XAConnection)conn).createXASession(); MessageConsumer cons = sessReceive.createConsu... |
final int pageSize = 2000; | final int pageSize = 1000; | public void setUp() throws Exception { super.setUp(); ServerManagement.start("all"); //We test with small values for paging params to really stress it final int fullSize = 3000; final int pageSize = 2000; final int downCacheSize = 1000; ... |
public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception | public Receiver(Connection conn, Session sess, int numMessages, Destination dest) throws Exception | public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception { super(sess, numMessages); this.cons = cons; this.isListener = isListener; if (this.isListener) { cons.setMessageListener(this); } } |
this.cons = cons; this.isListener = isListener; if (this.isListener) { cons.setMessageListener(this); } | this.isListener = true; this.isCC = true; sess.setMessageListener(this); this.cc = conn.createConnectionConsumer(dest, null, new MockServerSessionPool(sess), 10); | public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception { super(sess, numMessages); this.cons = cons; this.isListener = isListener; if (this.isListener) { cons.setMessageListener(this); } } |
abstract protected ConfigFunctionDescriptor getFunction(); | protected abstract ConfigFunctionDescriptor getFunction(); | abstract protected ConfigFunctionDescriptor getFunction(); |
abstract protected AbstractDescriptor getParent(); | protected abstract AbstractDescriptor getParent(); | abstract protected AbstractDescriptor getParent(); |
public ConfigFunctionDescriptor(ConfigFunctionDescriptor other) | public ConfigFunctionDescriptor(PaletteDescriptor palette) | public ConfigFunctionDescriptor(ConfigFunctionDescriptor other) { type = other.getType(); plugin = other.getPlugin(); name = other.getName(); args.putAll(other.getArgs()); displayName = other.displayName; description = other.description; modifiableArgs = other.modifiableArgs; palette = other.pal... |
type = other.getType(); plugin = other.getPlugin(); name = other.getName(); args.putAll(other.getArgs()); displayName = other.displayName; description = other.description; modifiableArgs = other.modifiableArgs; palette = other.palette; | this.palette = palette; | public ConfigFunctionDescriptor(ConfigFunctionDescriptor other) { type = other.getType(); plugin = other.getPlugin(); name = other.getName(); args.putAll(other.getArgs()); displayName = other.displayName; description = other.description; modifiableArgs = other.modifiableArgs; palette = other.pal... |
private Color modify(Color color, double dS, double dB) { | private static Color modify(Color color, double dS, double dB) { | private Color modify(Color color, double dS, double dB) { float[] hsb = Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), null); // //decreasing brightness and saturation gives a "shadowier", "blacker" look //0.0 brightness gives black //0.0 saturation gives graysc... |
protected Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { | public Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { | protected Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { BorderPropertySet border = getStyle().getCalculatedStyle().getBorder(cssCtx); RectPropertySet padding = getStyle().getPaddingWidth(cssCtx); float marginLeft = 0; float marginRight = 0; f... |
LineMetrics metrics = FontUtil.getLineMetrics(new_inline.getStyle().getFont(c), new_inline, tr, g2); lineHeight = (int) Math.round(new_inline.getStyle().getCalculatedStyle().getLineHeight(c)); | Font font = c.getFont(style.getFont(c)); LineMetrics metrics = FontUtil.getLineMetrics(font, null, tr, g2); lineHeight = (int) style.getLineHeight(c); | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... |
leading = (int) metrics.getLeading(); | leading = lineHeight - (ascent + descent); | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... |
LineMetrics blockLineMetrics = curr_line.blockLineMetrics; | return getBaselineOffset(style, c, tr, g2, ascent, descent, lineHeight, leading, curr_line, bfc); | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... |
IdentValue vertical_align = new_inline.getStyle().getCalculatedStyle().getIdent(CSSName.VERTICAL_ALIGN); if (vertical_align == IdentValue.BASELINE) { baselineOffset = 0; } else if (vertical_align == IdentValue.SUPER) { baselineOffset = (int) Math.round(-blockLineMetrics.getStrikethroughOffset() * 1.5); } else if (ver... | public static int getBaselineOffset(CssContext c, LineBox curr_line, InlineBox new_inline, TextRenderer tr, Graphics2D g2, BlockFormattingContext bfc) { int lineHeight; int ascent; int descent; int leading; //int xheight; int baselineOffset; if (new_inline instanceof... | |
delegate.setState(new ConnectionState(delegate, delegate.getServerID())); | delegate.setState(new ConnectionState(delegate, delegate.getServerID(), delegate.getServerLocatorURI())); | public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ClientConnectionDelegate delegate = (ClientConnectionDelegate)invocation.invokeNext(); delegate.init(); delegate.setState(new ConnectionState(delegate, delegate.getServerID())); ... |
public ConnectionState(ConnectionDelegate delegate, String serverId, String serverLocatorURI) | public ConnectionState(ConnectionDelegate delegate, String serverId, JMSRemotingConnection remotingConnection) | public ConnectionState(ConnectionDelegate delegate, String serverId, String serverLocatorURI) throws Exception { super(null, delegate); if (log.isTraceEnabled()) { log.trace("Creating connection state"); } children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); ... |
String callbackServerURI = "socket: InvokerLocator callbackServerLocator = new InvokerLocator(callbackServerURI); serverURI = serverLocatorURI; InvokerLocator serverLocator = new InvokerLocator(serverLocatorURI); if (log.isTraceEnabled()) { log.trace("Connecting with server URI:" + server... | this.remotingConnection = remotingConnection; | public ConnectionState(ConnectionDelegate delegate, String serverId, String serverLocatorURI) throws Exception { super(null, delegate); if (log.isTraceEnabled()) { log.trace("Creating connection state"); } children = new SyncSet(new HashSet(), new WriterPreferenceReadWriteLock()); ... |
toAck = new ArrayList(); | ClientAckList = new ArrayList(); | public SessionState(ConnectionState parent, ClientSessionDelegate delegate, boolean transacted, int ackMode, boolean xa) { super(parent, (DelegateSupport)delegate); this.sessionId = delegate.getID(); children = new HashSet(); this.acknowledgeMode = ackMode; ... |
setBorder(BorderFactory.createLineBorder(Color.BLACK)); | protected void configurePopup() { // initialize list that will be used to display combo box's items this.list = createList(); ((JLabel) list.getCellRenderer()).setHorizontalAlignment(SwingConstants.LEFT); configureList(); // initialize scroller. Add list to the scroller. scroller = createScroller(... | |
scroller.setBorder(null); | protected void configureScroller() { scroller.getViewport().setView(list); scroller.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER); } | |
list.setPreferredSize(new Dimension(cbBounds.width, popupHeight)); Insets insets1 = getInsets(); Insets insets2 = scroller.getInsets(); super.setPopupSize(cbBounds.width, popupHeight + insets1.top + insets1.bottom + insets2.top + insets2.bottom); | scroller.setPreferredSize(new Dimension(cbBounds.width, popupHeight)); pack(); | public void show() { Rectangle cbBounds = comboBox.getBounds(); // popup should have same width as the comboBox and should be hight anough // to display number of rows equal to 'maximumRowCount' property int popupHeight = getPopupHeightForRowCount(comboBox.getMaximumRowCount()); list.setPreferredSize(... |
int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } | public int getSelectedIndex() { return selectionModel.getMinSelectionIndex(); } | int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } |
void setSelectedIndex(int a) { sel_model.setSelectionInterval(a,a); } | public void setSelectedIndex(int a) { selectionModel.setSelectionInterval(a, a); } | void setSelectedIndex(int a) { sel_model.setSelectionInterval(a,a); } |
public void valueChanged(ListSelectionEvent event); | void valueChanged(ListSelectionEvent event); | public void valueChanged(ListSelectionEvent event); |
public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } | public void setCellRenderer(ListCellRenderer cr) { ListCellRenderer old = cellRenderer; cellRenderer = cr; firePropertyChange(CELL_RENDERER_PROPERTY_CHANGED, old, cr); revalidate(); repaint(); } | public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } |
public void setModel(ListModel model) { ListDataListener l = new ListDataListener() { public void intervalAdded(ListDataEvent e) { repaint(); } public void intervalRemoved(ListDataEvent e) { repaint(); } public void contentsChanged(ListDataEvent e) { repaint(); } }; this.model = model; model.addListDataListener(l); } | public void setModel(ListModel m) { ListModel old = model; if (old != null) old.removeListDataListener(listListener); model = m; if (model != null) model.addListDataListener(listListener); firePropertyChange(MODEL_PROPERTY_CHANGED, old, m); } | public void setModel(ListModel model) { ListDataListener l = new ListDataListener() { public void intervalAdded(ListDataEvent e) { repaint(); } public void intervalRemoved(ListDataEvent e) { repaint(); } public void contentsChanged(ListDataEvent e) { repaint(); } }; this.model = mod... |
public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } | public void setVisibleRowCount(int vc) { visibleRowCount = vc; revalidate(); repaint(); } | public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.