Examples of RaftClient


Examples of org.robotninjas.barge.rpc.RaftClient

  @Test
  public void providesAClientToAccessTheReplicaURLGivenAHttpReplica() throws Exception {
    HttpRaftClientProvider provider = new HttpRaftClientProvider();

    RaftClient client = provider.get(new HttpReplica(new URI("http://localhost:1234")));

    assertThat(client).isInstanceOf(BargeJaxRsClient.class);
  }
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.