Package io.airlift.discovery.client.ServiceDescriptor

Examples of io.airlift.discovery.client.ServiceDescriptor.ServiceDescriptorBuilder.addProperty()


                .setNodeId(expected.getNodeId())
                .setPool(expected.getPool())
                .setState(expected.getState());

        for (Map.Entry<String, String> entry : expected.getProperties().entrySet()) {
            builder.addProperty(entry.getKey(), entry.getValue());
        }

        assertDescriptorEquals(expected, builder.build());
    }
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.