Package com.netflix.suro.input.thrift

Examples of com.netflix.suro.input.thrift.ServerConfig


    @Test
    public void test() throws TTransportException, IOException {
        InputManager inputManager = mock(InputManager.class);
        doReturn(mock(SuroInput.class)).when(inputManager).getInput("thrift");
        HealthCheck healthCheck = new HealthCheck(new ServerConfig() {
            @Override
            public int getPort() {
                return suroServer.getServerPort();
            }
        }, inputManager);
View Full Code Here


        return spaceChecker;
    }
    @Test
    public void test() throws Exception {
        ServerConfig config = new ServerConfig();

        final ObjectMapper jsonMapper = new DefaultObjectMapper();

        LocalFileSink.SpaceChecker spaceChecker = mock(LocalFileSink.SpaceChecker.class);
View Full Code Here

TOP

Related Classes of com.netflix.suro.input.thrift.ServerConfig

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.