Examples of BackendRepository


Examples of net.windwards.dnsfrontend.api.BackendRepository

    @Test
    public void replyDoesNotArrive() throws Exception {
        Ehcache cache = TestUtils.getEhcache();
        TaskKeeperImplWrapped keeper = new TaskKeeperImplWrapped(cache);
        keeper.setExpireTime(10);
        keeper.setBackendRepository(new BackendRepository() {
            @Override
            public Backend lookup(int type) {
                return new TestingBackend();
            }
            @Override public void stop() {};
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.