Examples of PingOperation


Examples of com.basho.riak.client.core.operations.PingOperation

public class ITestPingOperation extends ITestBase
{
    @Test
    public void theMachinethatGoesPing() throws InterruptedException, ExecutionException
    {
        PingOperation ping = new PingOperation();
        cluster.execute(ping);
       
        ping.await();
        assertTrue(ping.isSuccess());
    }
View Full Code Here

Examples of com.basho.riak.client.core.operations.PingOperation

                                        .withMinConnections(10);
       
        RiakCluster cluster = new RiakCluster.Builder(builder.build()).build();
        cluster.start();
       
        PingOperation ping = new PingOperation();
        cluster.execute(ping);
        ping.await();
       
        assertFalse(ping.isSuccess());
        assertNotNull(ping.cause());
       
        cluster.shutdown();
       
    }
View Full Code Here

Examples of com.basho.riak.client.core.operations.PingOperation

{

    @Override
    protected FutureOperation<?, ?, ?> buildOperation()
    {
        return new PingOperation();
    }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.PingOperation

      }
      return tcpTransport;
   }

   private PingOperation.PingResult ping(TcpTransport tcpTransport, AtomicInteger topologyId) {
      PingOperation po = new PingOperation(topologyId, tcpTransport);
      return po.execute();
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.PingOperation

      }
      return tcpTransport;
   }

   protected PingOperation.PingResult ping(TcpTransport tcpTransport, AtomicInteger topologyId) {
      PingOperation po = new PingOperation(codec, topologyId, tcpTransport);
      return po.execute();
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.PingOperation

      }
      return tcpTransport;
   }

   private PingOperation.PingResult ping(TcpTransport tcpTransport, AtomicInteger topologyId) {
      PingOperation po = new PingOperation(topologyId, tcpTransport);
      return po.execute();
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.PingOperation

      }
      return tcpTransport;
   }

   private PingOperation.PingResult ping(TcpTransport tcpTransport, AtomicInteger topologyId) {
      PingOperation po = new PingOperation(codec, topologyId, tcpTransport);
      return po.execute();
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.PingOperation

      }
      return tcpTransport;
   }

   protected PingOperation.PingResult ping(TcpTransport tcpTransport, AtomicInteger topologyId) {
      PingOperation po = new PingOperation(codec, topologyId, tcpTransport);
      return po.execute();
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.PingOperation

      }
      return tcpTransport;
   }

   private PingOperation.PingResult ping(TcpTransport tcpTransport, AtomicInteger topologyId) {
      PingOperation po = new PingOperation(codec, topologyId, tcpTransport);
      return po.execute();
   }
View Full Code Here

Examples of org.infinispan.client.hotrod.impl.operations.PingOperation

      }
      return tcpTransport;
   }

   private PingOperation.PingResult ping(TcpTransport tcpTransport, AtomicInteger topologyId) {
      PingOperation po = new PingOperation(codec, topologyId, tcpTransport);
      return po.execute();
   }
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.