Package org.rioproject.impl.watch

Examples of org.rioproject.impl.watch.WatchDataSourceImpl.clear()


        DataSourceMonitor mon = new DataSourceMonitor(impl);
        mon.waitFor(DCS);
        int expected = Math.min(DCS, DCS);
        Assert.assertEquals(expected, impl.getCalculable().length);

        impl.clear();
        Assert.assertEquals(0, impl.getCalculable().length);

        impl.close();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.