Package ru.decipher.mock

Examples of ru.decipher.mock.Mock3GoodHttpProxySlowLoader


        assertEquals(100, done.get());
    }

    @Test
    public void testThatManagerDoesNotBlockQueueDuringProxiesUpdate() throws Exception {
        manager = new DefaultProxyManager(new Mock3GoodHttpProxySlowLoader(), 1, 100, 10, 0);
        final HttpProxyConfig firstProxy = manager.take();
        final HttpProxyConfig secondProxy = manager.take();
        manager.ban(secondProxy);
        new Thread(new Runnable() {
            @Override
View Full Code Here

TOP

Related Classes of ru.decipher.mock.Mock3GoodHttpProxySlowLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.